Class: Impression

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

Overview

Responsability

  • be able to update_counters

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

asks updatable? whether it may or may not be updated FIX exeception raising when no imps_id is found

Instance Attribute Summary

Attributes included from Impressionist::CounterCache

#entity, #impressionable_class

Method Summary

Methods included from Impressionist::SetUpAssociation

included