spec/models/post.rb in simple_cacheable-1.3.0 vs spec/models/post.rb in simple_cacheable-1.3.1

- old
+ new

@@ -2,11 +2,13 @@ include Cacheable belongs_to :user has_many :comments, :as => :commentable + has_many :images, :as => :viewable + model_cache do with_key with_attribute :user_id - with_association :user, :comments + with_association :user, :comments, :images end end