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

DEPRECATION WARNING: ActiveModel::Errors#keys #7175

Closed
yshmarov opened this issue Nov 3, 2021 · 0 comments
Closed

DEPRECATION WARNING: ActiveModel::Errors#keys #7175

yshmarov opened this issue Nov 3, 2021 · 0 comments

Comments

@yshmarov
Copy link

yshmarov commented Nov 3, 2021

Did you find a bug?

Describe your problem with a clear title sumarizing it, and a clear
description
including as much relevant information as possible about it.

Expected behavior

DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2.
web            |
web            | To achieve the same use:
web            |
web            |   errors.attribute_names (called from block (2 levels)

Screenshot 2021-11-03 at 17 35 44

What do you think should happen?

Actual behavior

What actually happens?

How to reproduce

Your best chance of getting this bug looked at quickly is to provide a code
sample
or an executable test case demonstrating the expected behavior that is not
occurring. Ideally, use our bug report template to create the issue. Simply
copy the content of the appropriate template into a .rb file, make the necessary
changes to demonstrate the issue, and paste the content into the issue
description
.

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

2 participants