clarion/app/models/proposition.rb

6 lines
185 B
Ruby
Raw Normal View History

class Proposition < ActiveRecord::Base
belongs_to :proposer, class_name: 'User'
belongs_to :proposition_accepting, polymorphic: true
belongs_to :proposable, polymorphic: true
end