impressionist/tests/test_app/app/models/widget.rb

4 lines
107 B
Ruby

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