>
> It is a bit odd that f.submit is not explicitly documented in more
> places.  It is effectively the same as submit_tag I think.  Google for
> rails form_for "f.submit"
> will throw up some useful hits.


What you really want to be googling for is FormBuilder as it's the
FormBuilder that has the submit method:

http://apidock.com/rails/ActionView/Helpers/FormBuilder
http://apidock.com/rails/ActionView/Helpers/FormBuilder/submit

There's no documentation on those pages, but one of them points you to:

http://code.alexreisner.com/articles/form-builders-in-rails.html

Cheers,


Andy

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to