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

Add paranoia_destroy and paranoia_delete aliases #423

Merged
merged 5 commits into from Nov 3, 2017

Conversation

jhawthorn
Copy link
Collaborator

This allows users to be explicit about wanting to do a paranoia soft-delete instead of a normal hard-delete.

This should help users be more explicit about what action they want to
perform. My hope is that this will also make it easier to migrate off of
paranoia.
This makes paranoia's code itself more explicit.
@jhawthorn jhawthorn merged commit 7c0d4ac into rubysherpas:core Nov 3, 2017
@tvdeyen
Copy link

tvdeyen commented Nov 8, 2017

Ah, too late :(

I think the names of these methods should have been paranoid_*. Would have made them more readable.

But this is fine as well....

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.

None yet

2 participants