impressionist/spec/dummy/app/models/widget.rb

4 lines
107 B
Ruby

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