-
Notifications
You must be signed in to change notification settings - Fork 98
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
Callback function for new friend request / accepted request #9
Comments
You could fork the gem and write the custom code in Adding callbacks sounds like a good idea. Any suggestions on how to implement it? I am taking PR. |
@sungwoncho @jordansinger I am hitting this now. Is there no proper way to notify someone/see a list of people that have requested to be friends? For instance, is this not possible?
|
@t2 Sorry for the late reply. I am currently using neither this gem nor much Ruby in general, so I can't promise that I will implement this feature soon. But I will try to find some time on the weekend to look it over. @Pensarfeo any thoughts on this feature? |
@sungwoncho I am in your same situation ;) I have not been working on rails for the last year... |
For now I have solved this with a simple query but performance could be a factor. I may look into this.
|
How might I go about doing something to the likes of "after_create :notify_user" for the friendships model? Something in general in order to notify users of a new request and the requesting user of an accepted request.
The text was updated successfully, but these errors were encountered: