From 0a4d1c3cdeaf387b4cb4288462084c8ee1a9b039 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Fri, 17 Mar 2017 17:33:35 +0530 Subject: Cleanup documentation fixes (#28460) --- activesupport/lib/active_support/core_ext/object/with_options.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/core_ext/object/with_options.rb b/activesupport/lib/active_support/core_ext/object/with_options.rb index 4afb20ebfd..3a44e08630 100644 --- a/activesupport/lib/active_support/core_ext/object/with_options.rb +++ b/activesupport/lib/active_support/core_ext/object/with_options.rb @@ -62,8 +62,8 @@ class Object # # Hence the inherited default for `if` key is ignored. # - # NOTE: You cannot call class methods implicitly inside of with_options, - # refer the methods using the class name instead, like so: + # NOTE: You cannot call class methods implicitly inside of with_options. + # You can access these methods using the class name instead: # # class Phone < ActiveRecord::Base # enum phone_number_type: [home: 0, office: 1, mobile: 2] -- cgit v1.2.3