Rails 4.1.0 RC1 Support
Change effective on 19 February 2014
Ruby apps on Heroku now support the Rails 4.1.0 RC1 release. In order to support the new features we’ve made the following changes for a Rails 4.1.0 RC1 app:
-
config/database.ymlwon’t be overwritten anymore when a Rails 4.1.0 RC1 app is detected. Instead, it will be merged withDATABASE_URLso additional options like pool size can be set inconfig/database.yml. - A
SECRET_KEY_BASEconfig var will be generated for the lifetime of any Rails 4.1 app. New Rails 4.1.0 RC1 apps will set this up for you, but ensure yourconfig/secrets.ymlhas the following:
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
You can set a new value for SECRET_KEY_BASE to roll your credentials:
$ heroku config:set SECRET_KEY_BASE=`ruby -rsecurerandom -e "puts SecureRandom.hex(64)"`