aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
Commit message (Collapse)AuthorAgeFilesLines
* 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 note about precedence (closes #2790)David Heinemeier Hansson2005-11-093-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2949 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
* Added app/services as a default dir in the Rails skeleton and to the load ↵David Heinemeier Hansson2005-10-281-1/+1
| | | | | | path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Back off cleanpath to be symlink friendly. Closes #2533Nicholas Seckar2005-10-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the dead test settingsFlorian Weber2005-10-261-7/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't clean RAILS_ROOT on windowsJamis Buck2005-10-191-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove trailing '/' from RAILS_ROOTNicholas Seckar2005-10-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Shorten long lineNicholas Seckar2005-10-151-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. ↵Nicholas Seckar2005-10-141-1/+2
| | | | | | Provides cleaner backtraces and error messages. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the instantiated/transactional fixtures settings be controlled through ↵Florian Weber2005-10-141-0/+6
| | | | | | Rails::Initializer. Transactional and non-instantiated fixtures are default from now on. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support using different database adapters for development and test with ↵Sam Stephenson2005-10-131-0/+4
| | | | | | ActiveRecord::Base.schema_format = :ruby git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont repeat yourselfDavid Heinemeier Hansson2005-10-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run set load path so others can do boot and get pathDavid Heinemeier Hansson2005-09-301-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use assignment instead of callDavid Heinemeier Hansson2005-09-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new symbol-driven approach to activating observers with Base#observer ↵David Heinemeier Hansson2005-09-251-3/+3
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cant use silence_warnings before active support is loadedDavid Heinemeier Hansson2005-09-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-151-0/+3
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it easy to go UTCDavid Heinemeier Hansson2005-09-131-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reformed environments files to the new config styleDavid Heinemeier Hansson2005-09-134-21/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it even easier to set a new session store and use symbols for log level tooDavid Heinemeier Hansson2005-09-121-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails::Configuration support for fragment storesDavid Heinemeier Hansson2005-09-121-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sessions with an sDavid Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added create_session_table, drop_session_table, and purge_session_table as ↵David Heinemeier Hansson2005-09-121-0/+4
| | | | | | rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encourage custom url options to be called with symbol #2047David Heinemeier Hansson2005-09-111-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved config/tasks to lib/tasks and added more documentation to environment.rbDavid Heinemeier Hansson2005-09-111-1/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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