On Tue, Dec 30, 2014 at 2:52 AM, Vlad Panainte <[email protected]> wrote:

> def foo_params
>     params.require(:foo).permit(:value,:rvalue)
>   end
>
> where rvalue is an array. I've tried :rvalue=>[] but no luck

> <%= builder.text_field "rvalue" , class: "uk-width-1-1" %>

? Your "rvalue" param is going to be a string.

I don't understand why you expect it to be an array.

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCtALPXBF1HoP2JDRLyxfHr40hfKvu3PigTpK3qWSvVPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to