Substituted cyclopropyl compounds of the formula I: are disclosed as useful for treating or preventing type 2 diabetes and similar conditions. Pharmaceutically acceptable salts are included as well. The compounds are useful as agonists of the g-protein coupled receptor GPR-119.