instead of hitting the database with a sum-query, you could calculate the stuff based of the activities collection like this
self.activities.map(&:hours).sum
1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...