forked from bofh/fetsite
AutoCommit Don Jul 30 01:03:05 CEST 2015
This commit is contained in:
@@ -2,4 +2,7 @@ class Survey::Choice < ActiveRecord::Base
|
||||
belongs_to :question, class_name: 'Survey::Question'
|
||||
attr_accessible :picture, :sort, :text
|
||||
has_many :answers, class_name: 'Survey::Answer'
|
||||
def to_s
|
||||
self.text
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user