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

Use paranoia_destroyed? instead of deleted? #472

Closed
wants to merge 1 commit into from
Closed

Use paranoia_destroyed? instead of deleted? #472

wants to merge 1 commit into from

Conversation

tjallingvanderwal
Copy link

2b0db84 introduced record.paranoia_destroyed?
#390 introduced usage of record.deleted? to record.paranoia_destroy

A project I work on has a database column named deleted. The usage of the deleted? method by paranoia_destroy clashes with that column, preventing us to update to a newer version of this gem.
Using paranoia_destroyed? avoids that clash.

Since deleted? is literally an alias of paranoia_destroyed?, I cannot imagine there being downsides to this change.

@tjallingvanderwal
Copy link
Author

Hi @jhawthorn. Since you released the last 2.4.2 version, I'm asking you (didn't find any instructions for contact in CONTRIBUTING.md or elsewhere).

I would like to know if you think this PR needs any explanation or additional work?

@tjallingvanderwal
Copy link
Author

Closing my own stale PR.

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.

1 participant