Introduce a PropositionAccepting concern
It's sole purpose is to denote models that can be associated with a proposable model.
This commit is contained in:
parent
0900b2195f
commit
050db7d124
|
@ -0,0 +1,7 @@
|
||||||
|
module PropositionAccepting
|
||||||
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
|
included do
|
||||||
|
has_many :propositions, as: :proposition_accepting
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue