setting up 404 redirect for ActiveRecord errors in prodcution