-
Notifications
You must be signed in to change notification settings - Fork 1
Add soft deletes #70
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
base: master
Are you sure you want to change the base?
Add soft deletes #70
Conversation
| it "can be REALLY destroyed" do | ||
| a_user.really_destroy! | ||
| expect(a_user.destroyed?).to eq(true) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra empty line detected at block body end.
|
Which images table do you mean? Which route do you mean (whats the url, the localhost development one is fine)? I'll double check it and fix it if I borked something :) |
|
@jkeam I think I fixed the issue. Had to do some git magic. Not really sure what happened, but the schema includes your changes now. |
|
I think this looks good 👍 . If there are no objections from the team I'm ok with merging this in. Great job! |
|
Just adding in the issue that I created after the fact to track this functionality. |
Adds soft delete functionality on the backend with the paranoia gem. Includes tests (which pass! yay!).
Will add delete option to admin dashboard in next PR.
@jkeam The images table that you created disappears when I run db:migrate. I don't know why.