Use secure random for commit sha in factories
Update factories to reflect current data
Move query from notifications controller to model
Use flip in for notification and make it a bit faster
Use better_errors in development