fixing issues with deployment and rake db:seed