Remove protected_attributes gem
We do not enforce the rules, so removing it and switching the existing annotations to strong_parameters does not make our situation worse.
This commit is contained in:
parent
9fc51bdce8
commit
39aff78f11
8 changed files with 32 additions and 29 deletions
|
|
@ -1,4 +1,3 @@
|
|||
= form.hidden_field :current_user_id
|
||||
= form.input :name
|
||||
= form.input :description, as: :text, input_html: {rows: 10}
|
||||
= form.input :duration, :as => :select, :collection => 1..3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue