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

Rails/HasManyOrHasOneDependent with paranoia gem #5285

Closed
printercu opened this issue Dec 20, 2017 · 1 comment
Closed

Rails/HasManyOrHasOneDependent with paranoia gem #5285

printercu opened this issue Dec 20, 2017 · 1 comment

Comments

@printercu
Copy link

Hi!

Do you have any suggestions how to use gems providing soft-delete (like paranoia) with HasManyOrHasOneDependent cop: I think it's usual to not provide dependent option to has_many when parent is soft-deletable. Is it supposed just to use rubocop:disable for offences in such cases?

RuboCop version

$ rubocop -V
0.52.0 (using Parser 2.4.0.2, running on ruby 2.4.1 x86_64-darwin16)
@bbatsov
Copy link
Collaborator

bbatsov commented Sep 19, 2018

We're in the process of moving all Rails-related functionality to a standalone library (gem) named rubocop-rails. Please, migrate this issue to its issue tracker https://github.com/rubocop-hq/rubocop-rails/issues/

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