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

Fix an infinite loop error for Rails/ActiveRecordCallbacksOrder when callbacks have inline comments #373

Merged

Conversation

fatkodima
Copy link
Contributor

Closes #371

@andyw8
Copy link
Contributor

andyw8 commented Oct 17, 2020

The tests are failing in CI, and also locally for me.

@fatkodima
Copy link
Contributor Author

Yes, the tests are failing even on master. The culprit is the RSpec/FactoryBot/CreateList (when disabled - everything is ok). Haven't investigated why is that.

@andyw8
Copy link
Contributor

andyw8 commented Oct 17, 2020

It seems to be due to rubocop/rubocop#8490

@koic
Copy link
Member

koic commented Oct 19, 2020

The master branch has been stabilized by #375 and this PR test has passed. Thank you.

@koic koic merged commit 46661ea into rubocop:master Oct 19, 2020
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

Successfully merging this pull request may close these issues.

Rails/ActiveRecordCallbacksOrder autocorrect infinite loops if lines contain comments
3 participants