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

Destroying user #1

Open
avocade opened this issue Feb 13, 2011 · 2 comments
Open

Destroying user #1

avocade opened this issue Feb 13, 2011 · 2 comments

Comments

@avocade
Copy link

avocade commented Feb 13, 2011

Should probably be a cleanup method in after_destroy in user.rb, so the redis data is removed after destroying a User.

@seivan
Copy link
Owner

seivan commented Feb 21, 2011

Excellent, totally forgot about this.
Will do that. BUT....
Method should be called in a background job. So I'm just doing the method, and the user can call it in a after_destroy if he wants to, or add it to a backround job.

@avocade
Copy link
Author

avocade commented Feb 21, 2011

Sure, but is it really that big of a job to do right away? A "REDIS.del key" is really fast no?

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