git checkout master
git pull upstream master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rails (4.2.0), devise (3.5.1) | |
# in config/environments/staging.rb | |
config.action_mailer.default_url_options = { host: ENV['HOSTNAME'] } | |
Rails.application.routes.default_url_options[:host] = ENV['HOSTNAME'] | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
address: ENV['SMTP_SERVER'], | |
port: ENV['SMTP_PORT'], | |
user_name: ENV['SMTP_USER'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In genenal | |
# my_app/config/environments/development.rb | |
Rails.application.configure do | |
# Settings specified here will take precedence over those in config/application.rb. | |
# In the development environment your application's code is reloaded on | |
# every request. This slows down response time but is perfect for development | |
# since you don't have to restart the web server when you make code changes. | |
config.cache_classes = false | |
end |
NewerOlder