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
https://apidock.com/rails/v6.1.3.1/ActiveModel/Errors/attribute_names Rails/DeprecatedActiveModelErrorsMethods detected Rails 6.0 app but ActiveModel::Errors#attribute_names was added in Rails 6.1.3.1.
Rails/DeprecatedActiveModelErrorsMethods
ActiveModel::Errors#attribute_names
# Gemfile.lock rails (6.0.5)
Rails/DeprecatedActiveModelErrorsMethods doesn't detected in Rails 6.0.
Rails/DeprecatedActiveModelErrorsMethods detected in Rails 6.0.
user.errors.keys.include?(:attr)
bundle exec rubocop -V 1.31.0 (using Parser 3.1.2.0, rubocop-ast 1.18.0, running on ruby 2.7.6 aarch64-linux-musl) - rubocop-rails 2.15.1 - rubocop-rspec 2.11.1
The text was updated successfully, but these errors were encountered:
a703aaf
No branches or pull requests
https://apidock.com/rails/v6.1.3.1/ActiveModel/Errors/attribute_names
Rails/DeprecatedActiveModelErrorsMethods
detected Rails 6.0 app butActiveModel::Errors#attribute_names
was added in Rails 6.1.3.1.Expected behavior
Rails/DeprecatedActiveModelErrorsMethods
doesn't detected in Rails 6.0.Actual behavior
Rails/DeprecatedActiveModelErrorsMethods
detected in Rails 6.0.Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: