pic_vert_app/app/models/survey_item_answer.rb

10 lines
322 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
FIELD_TYPES=["normal", "other", "other_large"]
DATA_TYPE = ["integer", "string", "date"]
end