Introduce strong parameters
This commit is contained in:
parent
38bc2e3c3a
commit
355ecc0ac6
93 changed files with 172 additions and 241 deletions
|
|
@ -1,6 +1,4 @@
|
|||
class Question < ActiveRecord::Base
|
||||
attr_accessible :title, :global, :answers_attributes, :answer_ids, :question_type_id, :conference_id
|
||||
|
||||
belongs_to :question_type
|
||||
has_and_belongs_to_many :conferences
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue