Matt Jones, et., al.
Putting the module code in an initializer worked perfectly.
For those of you, like me, that want to customize things, but are
overwhelmed by Hobo:
I created a file called customizations.rb in config/initializers. That
file contains
module Hobo
module User
module ClassMethods
def password_validations
validates_length_of :password, :within => 8..40, :if =>
:new_password_required?
end
end
end
I'll fill in the complex part later.
Many thanks,
donz
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.