
anonen
Joined
20 Experience
0 Lessons Completed
0 Questions Solved
Activity
Thanks for the answer and special for a very cool gem tutorial. I read the readme and added to the model deleting notifications when deleting a parent record. All right. Do you mean section https://github.com/excid3/noticed/blob/master/README.md#associating-notifications?
Hello. Faced a problem while testing notifications. If there is a row in the notifications table that refers to a non-existent record, then calling notifications.to_notifications results in an error. It is clear that you need to delete associated notifications on before_destroy. But if the record is deleted directly through the psql shell for example?