_notes.txt 542 B

12345678910
  1. You need to register any new notifications in the DB. To do this edit the rake
  2. task db:load_notifications in lib/tasks/db_load_data.rake
  3. Since messages are parsed in a different thread than the request, they don't
  4. know the time_zone of the user by default. If you want to display formatted
  5. versions of a date or time, you could call force_zone from within the template
  6. code (i.e. force_zone(asset.due_at).strftime("")) or whatever.
  7. I don't think it's the ideal way at all, but it's all I could get to work, so
  8. that's what's there for now.