FirehoseCommunity / DEFCON

6 stars 4 forks source link

Sends a notification when a new post is created #77

Closed nicolaguidi closed 8 years ago

nicolaguidi commented 8 years ago

Notifications for new posts published are delivered to users with post_notification: true with and after_create callback in the Post model.

P.S. I added the pry-byebug gem for debugging purposes.

nicolaguidi commented 8 years ago

I wouldn't say it's a small nitpick: I overestimated ActionMailer and assumed it would take care of that. I will take care of this. I can also filter the post creator from the list of recipients, it could be a feature by I don't like it :D

kenmazaika commented 8 years ago

Perfect!