Sha256: 33868b38e763165d7075078816c0e8d0c73c7e8d2d0a90aeb33c1c0895668834

Contents?: true

Size: 239 Bytes

Versions: 9

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Surveys
    class SurveyAnswerOption < Surveys::ApplicationRecord
      belongs_to :question, class_name: "SurveyQuestion", foreign_key: "decidim_survey_question_id"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-surveys-0.12.2 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.13.0 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.12.1 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.13.0.pre1 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.12.0 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.11.2 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.12.0.pre app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.11.1 app/models/decidim/surveys/survey_answer_option.rb
decidim-surveys-0.11.0.pre1 app/models/decidim/surveys/survey_answer_option.rb