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 rubyonrails-core@googlegroups.com > (mailto:rubyonrails-core@googlegroups.com). > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > (mailto:rubyonrails-core+unsubscr...@googlegroups.com). > 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.