[openstreetmap/openstreetmap-website] Diary entry comment subscriptions (#1309)
notifications at github.com
Tue Oct 4 09:55:44 UTC 2016
tomhughes commented on this pull request.
+ # Add the commenter to the subscribers if necessary
+ @entry.subscribers << @user unless @entry.subscribers.exists?(@user.id)
Rails lets you use a model object and it's ID more or interchangeably so this is likely not going to cause any problem.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev