Removed usage of the depereacted ActiveRecord::Observer
Made updates to silence the deprecation warnings.
Tests passing except for two