aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
Commit message (Collapse)AuthorAgeFilesLines
* Silence logger initializationDavid Heinemeier Hansson2005-09-031-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-032-91/+13
| | | | | | empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ERb in the database.yml file (just like with fixtures), so you can ↵David Heinemeier Hansson2005-07-241-1/+1
| | | | | | pull out the database configuration in environment variables #1822 [Duane Johnson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add comment in config/environment.rb explaining $KCODE and UTF-8 #1726 [Leon ↵David Heinemeier Hansson2005-07-221-0/+6
| | | | | | Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2951@asus: jeremy | 2005-07-08 18:09:30 -0700Jeremy Kemper2005-07-084-5/+44
| | | | | | | | | | | Courtenay documentation and error message patches. r2952@asus: jeremy | 2005-07-08 18:43:10 -0700 Document environment config files. r2955@asus: jeremy | 2005-07-08 19:00:26 -0700 Updated changelog git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed logging of SQL statements to use the DEBUG level instead of INFO. ↵David Heinemeier Hansson2005-07-051-0/+1
| | | | | | Added logging of the request URI in the benchmark statement (makes it easy to grep for slow actions). Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a 'whiny nil' that's aim to ensure that when users pass nil to methods ↵David Heinemeier Hansson2005-06-182-0/+4
| | | | | | where that isn't appropriate, instead of NoMethodError? and the name of some method used by the framework users will see a message explaining what type of object was expected. Only active in test and development environments by default #1209 [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Choose a simpler requiring of picking gems or not for library loadingDavid Heinemeier Hansson2005-03-211-20/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded the requires again and included the load pathsDavid Heinemeier Hansson2005-03-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded the requires again and included the load pathsDavid Heinemeier Hansson2005-03-211-2/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Combined the script/environment.rb used for gems and regular files version. ↵David Heinemeier Hansson2005-03-202-89/+16
| | | | | | If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* close database.yml after reading in configuration #841 [sebastian.kanthak]David Heinemeier Hansson2005-03-172-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More fixes for symlinked setups #793 [phantom]David Heinemeier Hansson2005-03-072-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for independent components residing in /componentsDavid Heinemeier Hansson2005-02-202-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed action_service to action_web_serviceDavid Heinemeier Hansson2005-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed Action Service to Action Web ServiceDavid Heinemeier Hansson2005-02-182-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integrated Action Service with the existing elementsDavid Heinemeier Hansson2005-02-182-12/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Loading the Routes should happen in the environments #655David Heinemeier Hansson2005-02-172-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Controllers wrapper module away from environment.rb and into ↵David Heinemeier Hansson2005-02-152-4/+0
| | | | | | dependencies.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All libraries should link against the independent active supportDavid Heinemeier Hansson2005-02-152-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-152-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-152-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-152-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for release of 0.9.4David Heinemeier Hansson2005-01-173-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed log file permissions to be 666 instead of 777 (so they're not ↵David Heinemeier Hansson2005-01-152-2/+2
| | | | | | executable) #471 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switch dispatcher to use the new shared Dependencies approachDavid Heinemeier Hansson2004-12-293-7/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionMailer::Base.deliver_method = :test to the test environment so ↵David Heinemeier Hansson2004-12-231-1/+1
| | | | | | that mail objects are available in ActionMailer::Base.deliveries for functional testing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionMailer::Base.raise_delivery_errors = false to the test ↵David Heinemeier Hansson2004-12-231-0/+1
| | | | | | environment as we checks will be performed against deliveries array instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of an inaccessible log file by redirecting output to ↵David Heinemeier Hansson2004-12-192-2/+22
| | | | | | STDERR with a warning #330 [rainmkr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* File.expand_path in config/environment.rb would fail when dealing with ↵David Heinemeier Hansson2004-12-182-2/+2
| | | | | | symlinked public directories [mjobin]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Breakpointing that works much better with CGI and FCGIDavid Heinemeier Hansson2004-12-121-8/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added collusion handling for FCGIDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only start the breakpoint server when included by dispatchersDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turn off ACL for localhostDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary remote breakpoint supportDavid Heinemeier Hansson2004-12-091-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abolished ActionController::Base.require_or_load in favor of ↵David Heinemeier Hansson2004-11-302-2/+2
| | | | | | require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractApplicationController and the individual controllers are now ↵David Heinemeier Hansson2004-11-302-14/+9
| | | | | | completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Put establish_connection back in...David Heinemeier Hansson2004-11-252-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@14 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Consolidated and better commented the environment filesDavid Heinemeier Hansson2004-11-255-40/+88
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-245-0/+68
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de