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:
Patrick Gansterer 2019-10-29 15:16:43 +01:00
parent 9fc51bdce8
commit 39aff78f11
8 changed files with 32 additions and 29 deletions

View file

@ -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