10 lines
346 B
Ruby
10 lines
346 B
Ruby
# -*- encoding : utf-8 -*-
|
|
class SurveyItemAnswer < ActiveRecord::Base
|
|
belongs_to :survey_item
|
|
#attr_accessible :class_text, :data_type, :field_type, :help_text, :label_text, :archived, :locked
|
|
has_many :answer_sets, :dependent => :destroy
|
|
FIELD_TYPES=["normal", "other", "other_large"]
|
|
DATA_TYPE = ["integer", "string", "date"]
|
|
|
|
end
|