jsonapi-rb / jsonapi-rails

Rails gem for fast jsonapi-compliant APIs.
http://jsonapi-rb.org
MIT License
318 stars 62 forks source link

ActiveModel::Errors#keys is deprecated #127

Closed thisismydesign closed 2 years ago

thisismydesign commented 3 years ago

render jsonapi_errors: entity.errors

DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2.

To achieve the same use:

  errors.attribute_names
tagliala commented 2 years ago

This has been fixed via #130 and it is not an issue on master branch.

Any chance to release a new version?

remear commented 2 years ago

I'll close this out. A new version is coming, but I can't say when. I'm still reviewing what we can merge for this release, and working to fix the CI.