Sha256: 1888ad3d9604b1e9e7e6add65a066ca1c4a94b1124cf02019324f334ad3ac90d

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# 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

class Impression < ActiveRecord::Base
  include Impressionist::CounterCache
  include Impressionist::SetUpAssociation

  after_save :impressionable_counter_cache_updatable?

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
impressionist-1.4.1 lib/impressionist/models/active_record/impression.rb