Sha256: 9dd4bd1948aae83658ee1c60b9a7c295ec3b20bfeda19dad86e60bc68660711c
Contents?: true
Size: 388 Bytes
Versions: 10
Compression:
Stored size: 388 Bytes
Contents
# Responsability # * logs an error if imps_id and imps_type can not be found # * asks updatable? whether it may or may not be updated class Impression < ActiveRecord::Base include Impressionist::CounterCache # sets belongs_to and attr_accessible depending on Rails version Impressionist::SetupAssociation.new(self).set after_save :impressionable_counter_cache_updatable? end
Version data entries
10 entries across 10 versions & 1 rubygems