aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-05-11 03:43:09 -0700
committerXavier Noria <fxn@hashref.com>2011-05-11 03:43:09 -0700
commitb3f45195aa8a35277c3f998917312797936a1f4e (patch)
tree03608f0491833ec42495ebb806dd0e91d154df71 /activerecord
parent1dd90f8f12d1904ee3db37f9390df3246bb2712b (diff)
parent940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 (diff)
downloadrails-b3f45195aa8a35277c3f998917312797936a1f4e.tar.gz
rails-b3f45195aa8a35277c3f998917312797936a1f4e.tar.bz2
rails-b3f45195aa8a35277c3f998917312797936a1f4e.zip
Merge pull request #513 from BlackBulletIV/patch-1
Modified CollectionAssociation documentation to refer to the new class name
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/collection_association.rb2
-rw-r--r--activerecord/test/cases/named_scope_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/collection_association.rb b/activerecord/lib/active_record/associations/collection_association.rb
index ccd6b82217..deb2b9af32 100644
--- a/activerecord/lib/active_record/associations/collection_association.rb
+++ b/activerecord/lib/active_record/associations/collection_association.rb
@@ -4,7 +4,7 @@ module ActiveRecord
module Associations
# = Active Record Association Collection
#
- # AssociationCollection is an abstract class that provides common stuff to
+ # CollectionAssociation is an abstract class that provides common stuff to
# ease the implementation of association proxies that represent
# collections. See the class hierarchy in AssociationProxy.
#
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb
index 8fd1fc2577..34188e4915 100644
--- a/activerecord/test/cases/named_scope_test.rb
+++ b/activerecord/test/cases/named_scope_test.rb
@@ -462,7 +462,7 @@ class NamedScopeTest < ActiveRecord::TestCase
[:destroy_all, :reset, :delete_all].each do |method|
before = post.comments.containing_the_letter_e
post.association(:comments).send(method)
- assert before.object_id != post.comments.containing_the_letter_e.object_id, "AssociationCollection##{method} should reset the named scopes cache"
+ assert before.object_id != post.comments.containing_the_letter_e.object_id, "CollectionAssociation##{method} should reset the named scopes cache"
end
end