aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/environment.rb
Commit message (Collapse)AuthorAgeFilesLines
* Github comments are an excellent way to perform community code review -- ↵David Heinemeier Hansson2008-12-011-2/+2
| | | | keep it up!
* Even more polish of the default configration files and split off the session ↵David Heinemeier Hansson2008-11-301-29/+8
| | | | store configuration into its own file
* More organization based on priorityDavid Heinemeier Hansson2008-11-301-9/+5
|
* Cleanup other examples and wordingDavid Heinemeier Hansson2008-11-301-9/+5
|
* Rails::Configuration never had more details. Stop lying about itDavid Heinemeier Hansson2008-11-301-1/+0
|
* Its no longer common to run Rails in environments where you cant set the ↵David Heinemeier Hansson2008-11-301-4/+0
| | | | environment to be the production one. Dont need a notice telling about the ENV var that prominently any more
* Another piece of markup removed from environment.rbDavid Heinemeier Hansson2008-11-191-1/+1
|
* The docs in environment.rb are not going to be rendered so it doesnt make ↵David Heinemeier Hansson2008-11-191-1/+1
| | | | sense to mark them up
* Added config.i18n settings gatherer to config/environment, auto-loading of ↵David Heinemeier Hansson2008-11-181-0/+5
| | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
* Merge docrailsPratik Naik2008-10-161-0/+2
|
* Merge docrailsPratik Naik2008-09-031-1/+2
|
* Inline help text was incorrectly telling user to uncomment line to use ↵Nigel Ramsay2008-09-031-1/+1
| | | | | | | default local time. User should comment the line to use default local time. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#960 state:committed]
* Removed suggestion for turning off partial updates.Joshua Peek2008-05-311-4/+1
|
* Merge docrails.Pratik Naik2008-05-251-4/+4
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Mention partial updates in environment.rb to make it easier for people to ↵Michael Koziarski2008-05-231-0/+3
| | | | opt-in if they know it's safe
* gems should be specified before pluginsDavid Heinemeier Hansson2008-04-011-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added examples for config.gemDavid Heinemeier Hansson2008-04-011-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New applications should use UTC as the default time zoneDavid Heinemeier Hansson2008-03-261-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct grammar in config.time_zone description in environment.rbGeoff Buesing2008-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.time_zone = 'UTC' as a commented-out option in the default ↵Geoff Buesing2008-03-221-2/+4
| | | | | | environment.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update generated comments to reflect the fact that config.frameworks works ↵Michael Koziarski2008-02-171-2/+2
| | | | | | fine with gems now. Closes #11135 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleanup documentation a bit and be more specificDavid Heinemeier Hansson2007-11-211-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleanup documentation a bit and be more specificDavid Heinemeier Hansson2007-11-211-12/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix environment.rb typos. Closes #9859 [fxn, mikong]Jeremy Kemper2007-10-141-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remind that you need a server restart for initializer defaultsDavid Heinemeier Hansson2007-09-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the :all option to config.plugins thatll include the rest of the ↵David Heinemeier Hansson2007-09-211-2/+3
| | | | | | plugins not already explicitly named (closes #9613) [fcheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inform people that were using the cookie store as default and a caveatDavid Heinemeier Hansson2007-09-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Normalize whitespace. Closes #8385 [Time Pope]Jeremy Kemper2007-05-271-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource instead of Action Web Service [DHH]David Heinemeier Hansson2007-04-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix app generatorRick Olson2007-02-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config/initializers where all ruby files within it are automatically ↵David Heinemeier Hansson2007-02-231-16/+4
| | | | | | loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move session settings closer togetherDavid Heinemeier Hansson2007-02-231-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oops, don't omit the session_key since it's used as the cookie name.Jeremy Kemper2007-02-221-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session configuration in config/environment.rb instead of ↵Jeremy Kemper2007-02-221-2/+6
| | | | | | app/controllers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added text/csv as a default mime type and included example on how to make ↵David Heinemeier Hansson2006-11-231-0/+4
| | | | | | your own in config/environment.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert environment changes for autoload_pathsMichael Koziarski2006-10-311-5/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update environment.rb comments to include config.autoload_paths. Closes ↵Michael Koziarski2006-10-241-1/+5
| | | | | | #6478 [caio] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.plugins to control which plugins are loaded #6269 [skaes]. By ↵David Heinemeier Hansson2006-10-171-2/+5
| | | | | | default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mention in docs that config.frameworks doesn't work when getting Rails via ↵Marcel Molina2006-04-261-1/+1
| | | | | | Gems. Closes #4857. [Alisdair McDiarmid] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't match commented out RAILS_GEM_VERSIONs.Nicholas Seckar2006-04-071-1/+1
| | | | | | | Avoid "Constant already defined" warnings for RAILS_GEM_VERSION. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -f/--freeze option to rails command for freezing the application to ↵David Heinemeier Hansson2006-04-011-1/+1
| | | | | | the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Specify gem version in environment.rbDavid Heinemeier Hansson2006-04-011-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4210) [Caio Chassot ]David Heinemeier Hansson2006-03-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CHANGED DEFAULT: ActiveRecord::Base.schema_format is now :ruby by default ↵David Heinemeier Hansson2006-02-271-3/+4
| | | | | | instead of :sql. This means that we'll assume you want to live in the world of db/schema.rb where the grass is green and the girls are pretty. If your schema contains un-dumpable elements, such as constraints or database-specific column types, you just got an invitation to either 1) patch the dumper to include foreign key support, 2) stop being db specific, or 3) just change the default in config/environment.rb to config.active_record.schema_format = :sql -- we even include an example for that on new Rails skeletons now. Brought to you by the federation of opinionated framework builders! [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the ↵David Heinemeier Hansson2006-02-251-4/+0
| | | | | | Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare order for uncommenting, use consistent opt options [DHH]David Heinemeier Hansson2006-02-251-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Another word on precedence (closes #2790)David Heinemeier Hansson2005-11-091-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = ↵David Heinemeier Hansson2005-11-091-3/+3
| | | | | | "production" in config/environment.rb doesnt wreck havok [DHH] (closes #2660) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase criticality in comment for ENV["RAILS_ENV"]David Heinemeier Hansson2005-11-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added in bars to help guard against the production environment being used in ↵David Heinemeier Hansson2005-11-071-2/+2
| | | | | | test git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de