Yes, strong_parameters can be dynamic --- there was a slight gotcha on the 
permits for strong_parameters, so I created a gist example showing how it can 
happen (delegating out to the Post model in this case).

https://gist.github.com/3829489

There's also no reason you couldn't continue to use remove a subset of 
parameters in your controller. 


==========================
Jesse Wolgamott @ Comal Productions, LLC.
Web. Mobile. Design. Training.
@jwo
http://comalproductions.com


On Wednesday, October 3, 2012 at 2:15 PM, Gary Weaver wrote:

> Actually this probably won't affect us as I thought earlier, but am still 
> curious if permit might eventually support one at a time definition instead 
> of all at once. Thanks!
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-core/-/dSYM4-P8GkkJ.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to