Hello all,

I am pretty much new here, trying to move to RoR from .net world.
I will appreciate if anyone clarifies this for me.

Most of books use "submit_tag" in new or edit views, but I see Rails API
web documents use "f.submit" instead.  I also see Agile Web Development
using RoR 3rd Edition use the same "f.submit" instead of "submit_tag."

Which way is mostly recommended?
I am using the latest version of rails, and I am still get confused how
Rails know if the post is "Create" or "Update" with this one single
"submit_tag."

I will appreciate it for your help in advance.

- risknet -
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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-talk@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