aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/errors_test.rb
diff options
context:
space:
mode:
authorPrem Sichanugrist, Brian Morearty, John Reitano <s@sikachu.com, github2@morearty.org, john_reitano@yahoo.com>2011-04-10 20:27:08 +0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-04-11 03:17:08 +0800
commit635d991683c439da56fa72853880e88e6ac291ed (patch)
treecb2d51ebe3bedfb71df5661ba5e86246bf064e0a /activemodel/test/cases/errors_test.rb
parent62b2755f7a4ca12491a7899348066695a6a26917 (diff)
downloadrails-635d991683c439da56fa72853880e88e6ac291ed.tar.gz
rails-635d991683c439da56fa72853880e88e6ac291ed.tar.bz2
rails-635d991683c439da56fa72853880e88e6ac291ed.zip
Add support for Object#in? and Object#either? in Active Support [#6321 state:committed]
This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
Diffstat (limited to 'activemodel/test/cases/errors_test.rb')
0 files changed, 0 insertions, 0 deletions