1.8.7 doesnt have define_singleton_method