Re: [Rails] Re: parameter values
On 23 February 2012 21:18, M.SH <shehata.mohammed@gmail.com> wrote:
> thank u for your reply,
> i mean by name like
>
> <form ..
> <input type="text" name="street">
> <input type="text" name="street">
use
<input type="text" name="street[]">
<input type="text" name="street[]">
and I think you will get them as an array in params[:street]
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home