Hi,
I'm just working my way through Rails and had a question on validations. It seems that the default ActiveRecord validation only works on "save", "create", "update", etc. Assume I have a form for registration, which creates the user, and another one for login which references the user record (username, password). How do I make the login also check that the user has filled the form or entered a username? Is it programmatic in the controller, or is there some rails mechanism that enables me to apply many of the same validations I use for registration, also for login?
Many Thanks