Added rails_12factor in production.
Changed devise.rb