Topic: authlogic_rpx gem saves User even when it doesn't pass its validations
I've been having an issue with authlogic_rpx. My user model has a validation that should force it to only accept unique emails:
acts_as_authentic do |c| c.merge_validates_uniqueness_of_email_field_options end
However, when I am logging in using any provider from RPX (facebook, google, etc), the gem completely ignores that validation and creates new users with duplicated email.
In other words, if I create an account with email@example.com and afterwards try to login using that google account, the gem will create a new record in the User table, thus I'd have 2 records with the same email.
Is there any way to force it validate the uniqueness of that field?