mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-24 08:52:14 -04:00
8 lines
162 B
Ruby
8 lines
162 B
Ruby
module Ownable
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
belongs_to :owner, class_name: 'Member', foreign_key: 'owner_id', counter_cache: true
|
|
end
|
|
end
|