aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
diff options
context:
space:
mode:
authorgregolsen <anotheroneman@yahoo.com>2012-01-31 11:48:26 +0200
committergregolsen <anotheroneman@yahoo.com>2012-01-31 11:52:23 +0200
commitf13a1dd781d57128cd53a9b070248b8bc13edaeb (patch)
tree93a806aa2b01a5a514fecb0e87291bb37fd49cab /activerecord/lib/active_record/associations
parent920030b3d58b0fa1e5600e9573d82d561f22aff1 (diff)
downloadrails-f13a1dd781d57128cd53a9b070248b8bc13edaeb.tar.gz
rails-f13a1dd781d57128cd53a9b070248b8bc13edaeb.tar.bz2
rails-f13a1dd781d57128cd53a9b070248b8bc13edaeb.zip
ids_reader method fixed, test added to has_many association
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r--activerecord/lib/active_record/associations/collection_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/collection_association.rb b/activerecord/lib/active_record/associations/collection_association.rb
index 7aed64d48c..b2136605e1 100644
--- a/activerecord/lib/active_record/associations/collection_association.rb
+++ b/activerecord/lib/active_record/associations/collection_association.rb
@@ -58,7 +58,7 @@ module ActiveRecord
end
end
- relation.uniq.pluck(column)
+ relation.pluck(column)
end
end