Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Alexey's Profile

GitHub User: alexeymuranov

Comments by Alexey

Avatar

It should be mentioned that for the custom validation to work, the lib directory must be loaded with config.autoload_paths += %W[#{config.root}/lib/] in application.rb.