test/model/topic.rb in second_level_cache-2.2.6 vs test/model/topic.rb in second_level_cache-2.3.0.beta
- old
+ new
@@ -4,9 +4,9 @@
t.timestamps null: false
end
class Topic < ActiveRecord::Base
- acts_as_cached
+ second_level_cache
has_many :posts
end