views:

45

answers:

0

Hi, I'm trying to use custom validations with Authlogic gem for Rails. In the method "acts_as_authentic" I'm just using some kind of validations such as "merge_validates_format_of", but now I'm trying to use "validates_exclusion_of" that's not working because there are only some of ActiveRecord validation methods implemented for Authlogic.

What's the best practice to integrate in Authlogic a new interface for an ActiveRecord validation such as validates_exclusion_of?

Thanks.