We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rails 5 introduces model.errors.details rails/rails#18322
model.errors.details
When creating a model instance with facotry_girl, it is impossible to dump it:
Marshal.dump FactoryGirl.create :user # => TypeError: can't dump hash with default proc
You can test this with Rails 3&4 thanks to this gem https://github.com/cowbell/active_model-errors_details .
Without this Rails 5 feature or this gem it works fine.
The text was updated successfully, but these errors were encountered:
Just realised the problem is from Rails. I'm moving the issue, sorry.
Sorry, something went wrong.
No branches or pull requests
Rails 5 introduces
model.errors.details
rails/rails#18322When creating a model instance with facotry_girl, it is impossible to dump it:
You can test this with Rails 3&4 thanks to this gem https://github.com/cowbell/active_model-errors_details .
Without this Rails 5 feature or this gem it works fine.
The text was updated successfully, but these errors were encountered: