Ruby on Rails Tuesday, December 30, 2014

Hi guys,

I need some help with updating an array using rails view form .

In controller 

def foo_params

where rvalue is an array. I've tried :rvalue=>[] but no luck

In form I have 
 <%= form_for :foo, url: foo_path(@foo.foo_value, @foo), method: :put, html: {class: 'uk-form'} do |builder| %>
<%= builder.label "rvalue", "Value" %>
<%= builder.text_field "rvalue" , class: "uk-width-1-1" %>

Can you please help?


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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment