Please try this gem,
It helps admin to announce anything to every user in the system in a form
of a notice which is configurable also every user has an option to hide it
and will not appear till session expires or disabled by admin.
For more information please visit https://github.com/nitanshu/gubbara