Sha256: acb55ed136b8d32adbc8d96001bbcf709acd674c242b3ff9fae53b87decb49b7
Contents?: true
Size: 536 Bytes
Versions: 10
Compression:
Stored size: 536 Bytes
Contents
# include MuckServices::Models::MuckAggregationOwner module MuckServices module Models module MuckAggregationOwner # Adds identity aggregations to a given object. The aggregations # attached to the object in this way are then assumed to be produced by the object. # For example, if a user writes a blog the blog could be associated with the user in this way. extend ActiveSupport::Concern included do has_many :aggregations, :as => :ownable end end end end
Version data entries
10 entries across 10 versions & 1 rubygems