Sha256: 871187e2c72842ee7941de1778bc9e52191166c5367f01c823f682e92b7ef5ff

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 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.0 lib/impressionist/models/active_record/impression.rb