Re: Understand submit_tag

shahroon ali
Thu, 01 Jan 2009 12:00:14 -0000

The code you have written down here is okay, there is no problem with the
submit tag. Check your error log. Or you can check and also download a very
helpful book for the RoR beginners.Here is the link
http://my.opera.com/learnror

here you will find a book and some RoR related notes.

Thanks & Regards
Shahroon

On Thu, Jan 1, 2009 at 2:01 AM, Daniel Franca <
rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:

>
> 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/.