I would say though that you should use form_for rather than form_tag
if possible. So if the form is displaying data for an object then use
form_for.
There was no especially good reason to try for this, except I happened
to
have a form that used form_tag and with no instance variable available
for
use with form_for.
Anyway, let me close this issue, noting that my conclusion is that there
is
no way to get parameter naming with form_tag like from form_for.
I would say though that you should use form_for rather than form_tag
if possible. So if the form is displaying data for an object then use
form_for.
If you are a beginner then, if you have not already done so, I suggest
you work right through some tutorials such as railstutorial.org (which
is free to use online), that will give you a good basic knowledge of
rails. Make sure you use a tutorial for rails 3 and install the
correct version of Rails.
no way to get parameter naming with form_tag like from form_for.
As I said, it should work with form_tag and form_for. What makes you
think that it does not?
By the way, there is no need to send a copy of the email directly to
me, just send it to the list.
Colin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.