Open potomak opened 7 years ago
Instead of storing a new value in the user model a simple flag in the session could be sufficient.
An alternative approach would be to create a new Announcement
model that could be used to store announcements and associations between them and users to store dismissals for logged in users. This way the application wouldn't even need to be restarted to show a new announcement.
Announcements should be visible only as soon as a user dismiss them.