Skip to content

Commit

Permalink
Merge pull request #513 from BlackBulletIV/patch-1
Browse files Browse the repository at this point in the history
Modified CollectionAssociation documentation to refer to the new class name
  • Loading branch information
fxn committed May 11, 2011
2 parents 1dd90f8 + 940c31f commit b3f4519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion activerecord/test/cases/named_scope_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def test_scopes_are_reset_on_association_reload
[: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

Expand Down

0 comments on commit b3f4519

Please sign in to comment.