简体   繁体   中英

Ruby on Rails “What's new?”-modal

I'm currently developing a webapp using Rails and lately the system has become too large for users ti realize what has changed after I deploy an update. I would like to implement some sort of "What's new?" modal to show up after a new deploy has been made. Does anyone know of a good existing gem for this or will have to make it from scratch?

My approach to this is to have a "News"-model, for storing title and content , and then storing the "last login" date for a User.
So whenever they log in, I check to see if there's been a news since last login - If there has been any - I'll show it to them on the next page after login.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM