Sha256: 0f99fe4ae1593d13144528edf4fa58fca6d3de57bd70c5958cc35398972cba97
Contents?: true
Size: 546 Bytes
Versions: 6
Compression:
Stored size: 546 Bytes
Contents
## # see active_record/impression.rb # same doc applies to here class Impression include Mongoid::Document include Mongoid::Timestamps include Impressionist::CounterCache Impressionist::SetupAssociation.new(self).set field :impressionable_id, type: BSON::ObjectId field :impressionable_type field :user_id field :controller_name field :action_name field :view_name field :request_hash field :ip_address field :session_hash field :message field :referrer after_save :impressionable_counter_cache_updatable? end
Version data entries
6 entries across 6 versions & 2 rubygems