phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

email and password validation message duplicating after rails upgrade to 4.1.14 #159

Open Vipinmantri opened 8 years ago

Vipinmantri commented 8 years ago

I have upgraded rails version 4.0.12 to 4.1.14. While running test cases(or validating object through rails console), I could see same validation message twice for an email and password.

Failure: UserTest#test_valid_email_address Minitest::Assertion: Email xcvkktt should be invalid. Expected: "is invalid" Actual: "is invalid; is invalid

Environment: rails: 4.1.14, ruby: 2.1.6

Gems: gem 'devise', gem 'devise_ldap_authenticatable', gem 'devise_security_extension', gem 'rails_email_validator'

Dependancies: minitest (5.8.4)

And also my user model is associated to person model: belongs_to :person, :autosave => true And these validation messages is appended to person model also.

Any ideas why these is happening?