Sha256: f7d09728ab533df763e45ad546e030ef44877f4a3acbc14ee5383c0214d5e26d
Contents?: true
Size: 313 Bytes
Versions: 12
Compression:
Stored size: 313 Bytes
Contents
module EnjuQuestion module QuestionItem def self.included(base) base.extend ClassMethods end module ClassMethods def enju_question_item_model has_many :answer_has_items, :dependent => :destroy has_many :answers, :through => :answer_has_items end end end end
Version data entries
12 entries across 12 versions & 1 rubygems