diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-08-05 10:16:34 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-08-05 10:19:00 -0300 |
commit | ab2a35878b36d005fc9685403342786cffa23700 (patch) | |
tree | 5630d691e9a9fc7ebdb0f39c9a38b305124d4307 /activesupport/lib/active_support | |
parent | e5e4d08450642c77c5e4f8051d478663c57d97a3 (diff) | |
download | rails-ab2a35878b36d005fc9685403342786cffa23700.tar.gz rails-ab2a35878b36d005fc9685403342786cffa23700.tar.bz2 rails-ab2a35878b36d005fc9685403342786cffa23700.zip |
Fix AS docs / changelog with wrong method [ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/itself.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/itself.rb b/activesupport/lib/active_support/core_ext/object/itself.rb index 3065e956c6..adedc20169 100644 --- a/activesupport/lib/active_support/core_ext/object/itself.rb +++ b/activesupport/lib/active_support/core_ext/object/itself.rb @@ -2,7 +2,7 @@ class Object unless respond_to?(:itself) # TODO: Remove this file when we drop support for Ruby < 2.2 # Returns the object itself. Useful when dealing with a chaining scenario, like Active Record scopes: # - # Event.public_send(state.presence_in?([ :trashed, :drafted ]) || :itself).order(:created_at) + # Event.public_send(state.presence_in([ :trashed, :drafted ]) || :itself).order(:created_at) # # @return Object def itself |