Re: [Rails] Rails 4 and HABTM Checkboxes: Unpermitted parameters error

2013-10-25 Thread Walter Lee Davis
On Oct 25, 2013, at 1:11 PM, tamouse mailing lists wrote: > On Wed, Oct 23, 2013 at 6:18 PM, Walter Lee Davis wrote: >> Can anyone point me to a definitive guide to the new strong parameters? I >> didn't see it in the Rails Guides anywhere. > > Hard to say about "definitive", but this is my go

Re: [Rails] Rails 4 and HABTM Checkboxes: Unpermitted parameters error

2013-10-25 Thread tamouse mailing lists
On Wed, Oct 23, 2013 at 6:18 PM, Walter Lee Davis wrote: > Can anyone point me to a definitive guide to the new strong parameters? I > didn't see it in the Rails Guides anywhere. Hard to say about "definitive", but this is my go-to: http://edgeguides.rubyonrails.org/action_controller_overview.h

Re: [Rails] Rails 4 and HABTM Checkboxes: Unpermitted parameters error

2013-10-23 Thread Walter Lee Davis
Documenting this for posterity... On Oct 23, 2013, at 5:20 PM, Walter Lee Davis wrote: > 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 ch

[Rails] Rails 4 and HABTM Checkboxes: Unpermitted parameters error

2013-10-23 Thread Walter Lee Davis
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 ad