some books or even the rails api uses
form_for …
…
submit_tag …
end
and i found that the Rails 2.3.2 Scaffold uses
f.submit “Go”
instead… and this is not in the rails api doc. Is this a new
addition and is it suppose to replace submit_tag?
some books or even the rails api uses
form_for …
…
submit_tag …
end
and i found that the Rails 2.3.2 Scaffold uses
f.submit “Go”
instead… and this is not in the rails api doc. Is this a new
addition and is it suppose to replace submit_tag?
All the method in the form helper have his “object implicit”
counterpart, for example you can call text_field(object_name, method,
options = {}) or f.text_field(method, options = {}) and the object
used is f.object (the parameter of form_for @something), they produce
exactly the same output.
Regards.
Franco C…
On May 24, 6:06 pm, SpringFlowers AutumnMoon <rails-mailing-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs