Ruby on Rails Tuesday, December 30, 2014

On Tue, Dec 30, 2014 at 2:52 AM, Vlad Panainte <> 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 ------------------------
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
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