Permalink
Browse files

Merge pull request #16395 from jonatack/patch-8

Update itself.rb [ci skip]
  • Loading branch information...
rafaelfranca committed Aug 4, 2014
2 parents aa7d537 + 7562c76 commit cfb8d4ad3de3b2ea36d0237e2967bfed1a47c56b
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/object/itself.rb
@@ -1,5 +1,5 @@
class Object
- unless respond_to?(:itself) # TODO: Remove this file when we drop support to Ruby < 2.2
+ 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)

0 comments on commit cfb8d4a

Please sign in to comment.