Ilan, Before, it didn't worked because the form was submitted even with the password field blank.
Now, the problem is that the errors don't appear. On 11 ago, 16:57, Ilan Berci <[email protected]> wrote: > Gabriel Bianconi wrote: > > Hello. I'm trying to create a form. It has only a username and a > > password field. > > > The validation methods, such as validates_presence_of, aren't working. > > Does anyone know why? > > please submit why you don't think they are working; You received an > error message? You checked the db and the record is/ins't there with > invalid data? Your form didn't submit? What??? > -- > Posted viahttp://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

