Questions: fixes, redesign form, fix edit error
This commit is contained in:
parent
38bc2e3c3a
commit
e25425bd77
20 changed files with 300 additions and 117 deletions
|
|
@ -2,7 +2,7 @@ class Qanswer < ActiveRecord::Base
|
|||
attr_accessible :question_id, :answer_id
|
||||
|
||||
belongs_to :question
|
||||
belongs_to :answer, dependent: :delete
|
||||
belongs_to :answer
|
||||
|
||||
has_and_belongs_to_many :registrations
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue