search for: practitioners_control

Displaying 1 result from an estimated 1 matches for "practitioners_control".

2013 Oct 23
3
Rails 4 and HABTM Checkboxes: Unpermitted parameters error
I have a simple Rails 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"=>"✓", "aut...