Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Logan Serman's Profile

GitHub User: lserman

Site: http://www.lserman.com

Comments by Logan Serman

Avatar

I think that in the best case, you would use a UserValidator class to perform general validations - this way it can be re-used by anything that needs to perform them.

Adding the ability to use a separate Validator class was a great change in Rails 3.. unfortunately I don't think it is used enough.