On Fri, Jan 20, 2012 at 12:18 AM, PierreW <[email protected]> wrote:
> Sorry I did not give the context: these links are used by another, > external app (say app B). A user of app B can trigger the creation of > a record in App A, and it needs to pass some default parameters. OK, so to make sure I understand: app B has a link to appA/foos/new?size=4&weight=2 -- correct? and then appA's foos `create` action should include those additional parameters passed to `new`? If so, there's no reason you couldn't conditionally add hidden inputs to your `new` form to be processed as part of the `create`. Please let me know if I'm totally off base on my understanding :-) -- 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.

