How to add notification in Ruby on Rails applicatioon? -


i have application build ruby on rails, can see here: sidodi.

this app has 2 models, user , outgoingmail. outgoingmail model has status can change draft final.

it has 3 user role:

  1. conseptor
  2. head of division
  3. head of office

the workflow is:

  1. conceptor create new outgoingmail default status draft
  2. conceptor send outgoingmail , status change draft-1
  3. head of division check outgoingmail
  4. head of division send outgoingmail , status change draft-2
  5. conceptor view , change outgoingmail
  6. conceptor send outgoingmail revision , status change draft-3
  7. head of division check outgoingmail
  8. head of division send outgoingmail , status change draft-4
  9. conceptor view , change outgoingmail
  10. conceptor send outgoingmail revision , status change draft-5
  11. head of office check outgoingmail
  12. head of office send outgoingmail , status change draft-6
  13. conceptor view , change outgoingmail
  14. conceptor send outgoingmail revision , status change draft-7
  15. head of office check outgoingmail
  16. head of office send outgoingmail , status change final
  17. conceptor view, change, download, , print outgoingmail

when push send button, status changed need push refresh (f5) view outgoingmail. happened when different role view page outgoingmail unseen until pushing refresh button (f5).

is there way create notification in ruby on rails application?

you use rails' flash notifications.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -