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ário", :class => "submit" %> Translation from portuguese: "Novo Usuá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/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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ário", :class => "submit" %> > > Translation from portuguese: "Novo Usuá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/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Jan 1, 12:00 pm, "shahroon ali" <shahroon....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 linkhttp://my.opera.com/learnror > > here you will find a book and some RoR related notes. >This isn''t the place for pimping links for downloads of content you are not permitted to redistribute. Fred --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
shahroon ali wrote:> 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 <That''s the problem =/ nothing happen at the log file when click the button, neither debugging the server stops at the add_user method when click the button, only stops there at the first time I go to the site. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick you are right that I am not permitted to redistribute this sort of content, but in my point of you the learning material should be free for every one, and If I have this book and is helped me a lot then why I shouldn''t help others. And Daniel check the code I am sending you, download the attached file. Thanks & Regards, Shahroon On Thu, Jan 1, 2009 at 8:20 PM, Daniel Franca < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > shahroon ali wrote: > > 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 < > > That''s the problem =/ nothing happen at the log file when click the > button, neither debugging the server stops at the add_user method when > click the button, only stops there at the first time I go to the site. > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 2 Jan 2009, at 06:39, shahroon ali wrote:> Frederick you are right that I am not permitted to redistribute this > sort of content, but in my point of you the learning material should > be free for every one, and If I have this book and is helped me a > lot then why I shouldn''t help others.There are free resources. Link to those. Link to the amazon page of the book. Don''t disrespect the work of others (have you considered for example that the author of that book is a member of this group?) Fred> And Daniel check the code I am sending you, download the attached > file. > > Thanks & Regards, > Shahroon > > On Thu, Jan 1, 2009 at 8:20 PM, Daniel Franca <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > > wrote: > > shahroon ali wrote: > > 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 < > > That''s the problem =/ nothing happen at the log file when click the > button, neither debugging the server stops at the add_user method when > click the button, only stops there at the first time I go to the site. > -- > Posted via http://www.ruby-forum.com/. > > > > > > > <simple_user_package.rar>--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Please don''t make this group a debate group on useless things. If you want me to not to refer that book okay I will not. And I think Amazon is not a free resource. Thanks & Regards, Shahroon On Wed, Jan 7, 2009 at 4:51 PM, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On 2 Jan 2009, at 06:39, shahroon ali wrote: > > > Frederick you are right that I am not permitted to redistribute this > > sort of content, but in my point of you the learning material should > > be free for every one, and If I have this book and is helped me a > > lot then why I shouldn''t help others. > > There are free resources. Link to those. Link to the amazon page of > the book. Don''t disrespect the work of others (have you considered for > example that the author of that book is a member of this group?) > > Fred > > And Daniel check the code I am sending you, download the attached > > file. > > > > Thanks & Regards, > > Shahroon > > > > On Thu, Jan 1, 2009 at 8:20 PM, Daniel Franca < > rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > > > wrote: > > > > shahroon ali wrote: > > > 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 < > > > > That''s the problem =/ nothing happen at the log file when click the > > button, neither debugging the server stops at the add_user method when > > click the button, only stops there at the first time I go to the site. > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > > > > > > > > <simple_user_package.rar> > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
(private aside to Frederick Cheung): I''ve been reading through forums all day trying to fine tune a rails app I am building and you just keep popping up in "answer" to politely posted questions. You never have anything useful to add, but you are quick to criticize. You never seem to help anyone, but you seem ready to complain. Why don''t you get a different hobby, or find something useful to add, or at least be quiet? Failing those, please consider dropping dead. And by the way, once someone pays for a book, they certainly do have the rights to use the contents, especially when they credit it as the source, very especially when they do so in the way Daniel did. "Agile Web Development with Rails 2ed" by David Thomas. The author of the book surely realizes that people who are online trying to use it are helping promote it. I bought the thing specifically because it was mentioned in here so often. It is a great book. **************** Everyone else , If someone can answer the simple question in Daniel Franca''s original post (above), I and several others who are trying to learn Rails would deeply appreciate it. The documentation for rails form helpers stinks; forum help is the often only hope to try and make sense out of this. The book helps, but forum support makes the book ten times as valuable. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---