Created
February 16, 2015 14:08
-
-
Save lesniakania/b6a3f9d8b1975e91f8b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User < ActiveRecord::Base | |
Validator::Factory.register(self, UserValidator) | |
validates_with Validator | |
# lots of other stuff that usually is here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment