Sha256: c74d067b14cb771244725ad99c6967b97b51dcfdb6e74bb53c8843590b876848
Contents?: true
Size: 295 Bytes
Versions: 5
Compression:
Stored size: 295 Bytes
Contents
module Impressionist module Impressionable extend ActiveSupport::Concern module ClassMethods def is_impressionable(options={}) many :impressions, :as => :impressionable, :dependent => :destroy @cache_options = options[:counter_cache] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems