Understand submit_tag

Daniel Franca
Wed, 31 Dec 2008 21:01:36 -0000

Hi everyone,
I was following the book Agile Web Development with Rails 2Ed. by Dave
Thomas.

So, at some part of my studies, I decided to try to create my own
application based on what I''ve learned...
Now I''m in trouble in a simple form.

I tried to create a form to register new users.

I''m sending attached the files that I created for this.

but my view don''t call the action add_user when the user click on
submit
<%= submit_tag "Novo Usu&aacute;rio", :class =>
"submit" %>

Translation from portuguese: "Novo Usu&aacute;rio" = "New
User"

I searched a lot in foruns and google and didn''t solve my problem. I
believe it''s something easy That I couldn''t solve because my
lack of
knowledge in Ruby.

Attachments:
http://www.ruby-forum.com/attachment/3115/files.tar.gz

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