On 6 June 2015 at 18:42, Anthony Galli <li...@ruby-forum.com> wrote: > I haven't found guidance on this question anywhere, which I supposed > would be a common one: > > How can I go about creating a system where if I put the @symbol in front > of a user name in a comment that that user would receive a notification? > > I have my MVC's for comments, notifications, and users. > > Or if you think it would be easier to do it where when a user comments > on a post that every comment thereafter on that post would send him a > notification?
You would need to parse the text, find the @user references and do the notification. It may well be easier to implement your latter suggestion, but I would have thought the important point is what the users require. Neither seems particularly difficult. Colin > > What do you think would be better/easier? > > Do you any suggestions on how I can get started on this? > > Thanks :) > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/d06ec457b51769eb253bc18a504645e7%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuP9Eis3R%3DpoizkyAKqhvE68TgZfa7hbckx3UogLrSPMQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.