diff options
author | Xavier Noria <fxn@hashref.com> | 2011-05-11 03:43:09 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-05-11 03:43:09 -0700 |
commit | b3f45195aa8a35277c3f998917312797936a1f4e (patch) | |
tree | 03608f0491833ec42495ebb806dd0e91d154df71 | |
parent | 1dd90f8f12d1904ee3db37f9390df3246bb2712b (diff) | |
parent | 940c31f9de1523e9bf1adab7f6b6e5c2c9769af8 (diff) | |
download | rails-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
-rw-r--r-- | activerecord/lib/active_record/associations/collection_association.rb | 2 | ||||
-rw-r--r-- | activerecord/test/cases/named_scope_test.rb | 2 |
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 |