Fix for Heroku and Devise