Introduce strong parameters
This commit is contained in:
parent
38bc2e3c3a
commit
355ecc0ac6
93 changed files with 172 additions and 241 deletions
|
|
@ -1,9 +1,6 @@
|
|||
class Event < ActiveRecord::Base
|
||||
include ActiveRecord::Transitions
|
||||
has_paper_trail
|
||||
attr_accessible :title, :subtitle, :abstract, :description, :user, :users_attributes,
|
||||
:proposal_additional_speakers, :event_type_id, :track_id,
|
||||
:difficulty_level_id, :require_registration, :is_highlight
|
||||
|
||||
acts_as_commentable
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue