diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/with_options.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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] |