impressionist/test_app/app/models/widget.rb

4 lines
81 B
Ruby

class Widget < ActiveRecord::Base
is_impressionable :counter_cache => true
end