Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Vipinmantri opened this issue Feb 11, 2016 · 0 comments

Comments

@Vipinmantri
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant