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

Add error details to errors hash #2150

Closed
AlexVPopov opened this issue Mar 30, 2017 · 0 comments
Closed

Add error details to errors hash #2150

AlexVPopov opened this issue Mar 30, 2017 · 0 comments

Comments

@AlexVPopov
Copy link

AlexVPopov commented Mar 30, 2017

In Rails 5 ActiveModel::Errors contains an additional attribute details. For more info, see:

http://api.rubyonrails.org/classes/ActiveModel/Errors.html#method-i-add

http://blog.bigbinary.com/2016/05/03/rails-5-adds-a-way-to-get-information-about-types-of-failed-validations.html

I think this info should be added to her and all the other places, where errors are added. Will such a PR be accepted?

@mshibuya mshibuya added this to the Release v3.0.0 milestone Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants