rails/railties
schneems b9095ec95c Favor canonical environment variables for secrets
Prefixing an environment variable with `RAILS_` should be used when there is otherwise a conflict, such as `RAILS_ENV` or if it is being used for a very Rails specific value.

If we remove the prefix of `RAILS_` in the case of `RAILS_SECRET_KEY_BASE` then we can push for a pseudo standard among other frameworks that will accept a common environment key `SECRET_KEY_BASE` to keep your app secure. This is beneficial for containerized deployments such as docker, Heroku, etc. So that the container need to know one less thing about your app (it can just set it no-matter what language or framework you are using). 

This change also allows the defaults to be consistent with the way the secret key is accessed so `secrets.secret_key_base` is aliased to `SECRET_KEY_BASE` instead of `RAILS_SECRET_KEY_BASE`.
2014-01-13 14:31:43 -06:00
..
bin Refactor File.expand_path usage to remove additional File.join 2013-11-05 10:50:03 +05:30
lib Favor canonical environment variables for secrets 2014-01-13 14:31:43 -06:00
test Favor canonical environment variables for secrets 2014-01-13 14:31:43 -06:00
.gitignore
CHANGELOG.md Only lookup config.log_level for stdlib ::Logger. Closes #11665. 2014-01-13 19:00:45 +01:00
MIT-LICENSE update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30
railties.gemspec Add AV as development dependency for railties 2013-08-25 11:39:12 +02:00
Rakefile Removed unused require from Rakefile 2013-07-14 14:46:32 +02:00
RDOC_MAIN.rdoc Fixed README link in API [ci skip] 2013-07-17 10:35:59 +02:00
README.rdoc

= Railties -- Gluing the Engine to the Rails

Railties is responsible for gluing all frameworks together. Overall, it:

* handles the bootstrapping process for a Rails application;

* manages the +rails+ command line interface;

* and provides the Rails generators core.


== Download

The latest version of Railties can be installed with RubyGems:

* gem install railties

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/railties

== License

Railties is released under the MIT license:

* http://www.opensource.org/licenses/MIT

== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues