You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error was thrown while running rubocop -a. All my cops pass.
Expected behavior
Not throw an error.
Actual behavior
All cops pass, but an error is thrown.
1 error occurred:
An error occurred while Rails/UniqueValidationWithoutIndex cop was inspecting /Users/katedonaldson/Projects/pieforproviders/app/models/user.rb:11:2.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop-hq/rubocop/issues
Mention the following information in the issue report:
0.80.1 (using Parser 2.7.0.5, running on ruby 2.6.5 x86_64-darwin19)
An error was thrown while running rubocop -a. All my cops pass.
Expected behavior
Not throw an error.
Actual behavior
All cops pass, but an error is thrown.
Steps to reproduce the problem
Backtrace for this error:
The line that seems to throw the error is
validates :email, presence: true, uniqueness: true
in user.rbHere's my .rubocop.yml:
RuboCop version
The text was updated successfully, but these errors were encountered: