test/models/post.rb in cached-models-0.0.2 vs test/models/post.rb in cached-models-0.0.3
- old
+ new
@@ -2,6 +2,7 @@
belongs_to :author, :cached => true
belongs_to :blog
has_many :comments
has_many :tags, :as => :taggable
has_many :cached_tags, :as => :taggable, :class_name => 'Tag', :cached => true
+ has_and_belongs_to_many :categories
end