Made changes so that user can choose to have emails sent to them when a new notification is created on a ticket they are either working on or following. There is a boolean value on the user record taht controls whether they get the email or not. Right now the email is set syncronisly which causes a little lag, atleast on webrick when a ticket is being updated an email needs to be sent. I attempted to use a gem, delayed_job to handle this async, but apparently there is a bug with the mailer so I removed the gem. ! you need to execute rake db:migrate for the system to work!
Merge branch 'master' of https://github.com/ChrisKipers/ProblemReports