Sha256: 8fbd0ef001bdfa63e92184a1791fc5d65e6760a07d3a6f8ae7b3ba8c1f9faa17

Contents?: true

Size: 213 Bytes

Versions: 9

Compression:

Stored size: 213 Bytes

Contents

module EnjuQuestion
  module EnjuItem
    extend ActiveSupport::Concern

    included do
      has_many :answer_has_items, dependent: :destroy
      has_many :answers, through: :answer_has_items
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enju_question-0.3.2 app/models/concerns/enju_question/enju_item.rb
enju_question-0.3.1 app/models/concerns/enju_question/enju_item.rb
enju_question-0.3.0 app/models/concerns/enju_question/enju_item.rb
enju_question-0.3.0.beta.1 app/models/concerns/enju_question/enju_item.rb
enju_question-0.2.0 app/models/concerns/enju_question/enju_item.rb
enju_question-0.2.0.beta.4 app/models/concerns/enju_question/enju_item.rb
enju_question-0.2.0.beta.3 app/models/concerns/enju_question/enju_item.rb
enju_question-0.2.0.beta.2 app/models/concerns/enju_question/enju_item.rb
enju_question-0.2.0.beta.1 app/models/concerns/enju_question/enju_item.rb