Class: Impression

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Impressionist::CounterCache, MongoMapper::Document, Mongoid::Document, Mongoid::Timestamps
Defined in:
lib/impressionist/models/mongoid/impression.rb,
app/models/impression.rb,
lib/impressionist/models/mongo_mapper/impression.rb,
lib/impressionist/models/active_record/impression.rb

Overview

Responsability

  • logs an error if imps_id and imps_type can not be found

  • asks updatable? whether it may or may not be updated

Instance Attribute Summary

Attributes included from Impressionist::CounterCache

#entity, #impressionable_class