I’m hoping someone can point me to what the “best practice” is…
The basic scenario is a page with two AJAX forms for the same model.
to create a new object, while another is to edit an existing object of
same model. For example, if you had a social networking site, you might
have a page where you can edit your school information as well as add
The problem I’m running into is that if I use form_for, I end up with
forms whose children have the same DOM ids. I know I can avoid this by
using form tag helpers like text_field_tag, but I’m wondering if there
more elegant solution to this problem.
It seems like this would be a fairly common issue, but for some reason I
can’t find anything about it.
View this message in context:
Sent from the RubyOnRails Users mailing list archive at Nabble.com.