On Thu, Jan 19, 2012 at 4:19 PM, PierreW <[email protected]> wrote:

> I am using the standard (scaffolded), REST routing. I need to pass
> external values to my "new" action for a certain model, and let the
> user complete the other fields in the standard form_for.
> My initial idea has been to simply amend the URL like this:
>
> .../foos/new?size=4&weight=2

Why don't you include them in the form as hidden fields?

-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to