Ruby on Rails Sunday, April 23, 2017

You can't have multiple objects for a form_for, it can only be one.

If you want to do a subobject, a fields-for is available.

On Tuesday, April 4, 2017 at 7:00:20 PM UTC-4, fugee ohu wrote:
<%= form_for[@user, @address], :url => users_addresses_set_current_path(, do |f| %>

this doesn't work 

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