Sha256: 48f962cb7432b983965a1ee4df17a05e0272789a59b945783498331c6c2c1b1b
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
# Responsability ## See CounterCache TODO: extract it into a class # * 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 # sets belongs_to and attr_accessible Impressionist::SetupAssociation.new(self).set after_save :impressionable_counter_cache_updatable? end
Version data entries
3 entries across 3 versions & 1 rubygems