search for: login_create

Displaying 1 result from an estimated 1 matches for "login_create".

Did you mean: log_create
2006 Jul 21
1
Using "validates" in Model Question on Control Flow
I started with LoginGenerator and have evolved a nice little ACL model that is perfect for my app. The user model has statements like the following in the model file that control validation of some of the login fields: validates_length_of :login, :within => 3..40 validates_length_of :password, :within => 5..40 validates_presence_of :login, :password, :password_confirmation, :on =>