for a forum-like application I need the ability to show each user the unread (new) messages. Is there any Rails plugin/gem for that purpose?
Or: Are there any hints to do this job in a efficent way? I’m thinking about an additional database-table storing the unread-status (or read-status?) of every message for every user. But this seems to be brute-force method, perhaps there is a smarter solution…
Best wishes,
Georg
In the meantime I have created a Rails plugin based on my idea above, but with a more improved algorithm. Check it out here:
http://github.com/ledermann/unread