Ruby on Rails
Tuesday, December 30, 2014
On Tuesday, December 30, 2014 10:52:18 AM UTC, Vlad Panainte wrote:
Hi guys,I need some help with updating an array using rails view form .In controllerdef foo_paramsparams.require(:foo).permit(:value,:rvalue) endwhere rvalue is an array. I've tried :rvalue=>[] but no luck
What's the problem? Is strong parameters not permitting the value or something else?
Fred
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/64723e24-f987-44c4-b017-ee7678cc80e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment