Hi all!
I need to overload reg exp filter for login name in user.rb model,
So when I create new user.rb in /root/app/models/user.rb with only

class User < ActiveRecord::Base
    validates_format_of       :login, :with => /^[\s\.A-Za-z0-9_-]+$/
end

this does not affect filtering of login field, I have to change
filtering in community engine user.rb file.

Is it possible to somehow override validation of login?

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en.

Reply via email to