-
Notifications
You must be signed in to change notification settings - Fork 66
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
Fix Rubocop/Rails 2 #20333
Fix Rubocop/Rails 2 #20333
Conversation
Generated by 🚫 Danger |
Summary
Rails/FilePath
Rails/IgnoredColumnsAssignment
Rails/Pluck
pluck('confirmationCode')
overmap { |doc| doc['confirmationCode'] }
Rails/RedundantPresenceValidationOnBelongsTo
Rails/RootPathnameMethods
Rails.root
is a Pathname, so you can use Rails.root.join(...).read`Related issue(s)