Changeset [5fd05798657922e7a5e0bb52eaa1018011066f2f] by Luca Guidi

October 21st, 2008 @ 12:01 PM

Use loaded collection, instead of read from cache, when use #size, #empty? and #any? from AssociationCollection. Added support for :uniq option. http://github.com/jodosha/cached...

Committed by Luca Guidi

  • M CHANGELOG
  • M lib/activerecord/lib/active_record/associations/association_collection.rb
  • M test/active_record/associations/has_many_association_test.rb
  • M test/models/author.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

CachedModels provides to your ActiveRecord models a transparent approach to use ActiveSupport caching mechanism.