diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-05-11 23:43:18 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-05-11 23:44:55 +0100 |
commit | 2091e5a65e2950689ad3242d67fdd7b15aa3411b (patch) | |
tree | 42e0830bfa6c65a78ee361533b8d6ad51b4adeca /activerecord/lib/active_record/associations | |
parent | fbf1858ed9fdb98f1489e045936d871978de928f (diff) | |
download | rails-2091e5a65e2950689ad3242d67fdd7b15aa3411b.tar.gz rails-2091e5a65e2950689ad3242d67fdd7b15aa3411b.tar.bz2 rails-2091e5a65e2950689ad3242d67fdd7b15aa3411b.zip |
Remove #=== quirk
Makes it consistent with Relation. Can't see a use for this.
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/collection_proxy.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index b3e46d3707..cf4cc98f38 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -79,12 +79,6 @@ module ActiveRecord load_target == other end - # Forwards <tt>===</tt> explicitly to the \target because the instance method - # removal above doesn't catch it. Loads the \target if needed. - def ===(other) - other === load_target - end - def to_ary load_target.dup end |