Displaying 1 result from an estimated 1 matches for "practitioner_param".
Did you mean:
practitioner_params
2013 Oct 23
3
Rails 4 and HABTM Checkboxes: Unpermitted parameters error
...s 4 project with two scaffolded models: Practice and Practitioner. I have set these both as habtm and am in the process of adding checkboxes to the Practitioner form so that I can check off the practices that this practitioner belongs to. In the practitioners_controller, I added practice_ids to the practitioner_params permit list, but I am still getting the error:
Started PATCH "/practitioners/1" for 127.0.0.1 at 2013-10-23 16:35:34 -0400
Processing by PractitionersController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"u9XWBVshMKmLg+YhVFW...