diff --git a/app/models/proposition.rb b/app/models/proposition.rb index 0ae055d..8c16d93 100644 --- a/app/models/proposition.rb +++ b/app/models/proposition.rb @@ -2,4 +2,6 @@ class Proposition < ActiveRecord::Base belongs_to :proposer, class_name: 'User' belongs_to :proposition_accepting, polymorphic: true belongs_to :proposable, polymorphic: true + + enum status: [:undecided, :approved, :rejected, :backup] end