aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-05-11 23:43:18 +0100
committerJon Leighton <j@jonathanleighton.com>2012-05-11 23:44:55 +0100
commit2091e5a65e2950689ad3242d67fdd7b15aa3411b (patch)
tree42e0830bfa6c65a78ee361533b8d6ad51b4adeca /activerecord/lib
parentfbf1858ed9fdb98f1489e045936d871978de928f (diff)
downloadrails-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')
-rw-r--r--activerecord/lib/active_record/associations/collection_proxy.rb6
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