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

Lev completely skips ActiveRecord errors with a String message #33

Open
Dantemss opened this issue Jul 20, 2015 · 1 comment
Open

Lev completely skips ActiveRecord errors with a String message #33

Dantemss opened this issue Jul 20, 2015 · 1 comment
Labels

Comments

@Dantemss
Copy link
Member

For example, any error added with errors.add(:base, 'blah blah blah') will be completely ignored by Lev.

@Dantemss Dantemss added the bug label Jul 20, 2015
@Dantemss
Copy link
Member Author

This all happens in https://github.com/lml/lev/blob/master/lib/lev/better_active_model_errors.rb#170 (errors with String message are not assigned a type)

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

No branches or pull requests

1 participant