1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

29 commits

Author SHA1 Message Date
Jamis Buck
8b496a13d2 Add documentation for Rails::Initializer and Rails::Configuration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 00:17:09 +00:00
David Heinemeier Hansson
d72201e438 Backed out of setting testing settings through initializer as that would break backwards compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:47:46 +00:00
David Heinemeier Hansson
0930256b45 Fixed the overeager test running
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:18:17 +00:00
David Heinemeier Hansson
a442e6dbdf Clean-up fix a bit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:09 +00:00
Florian Weber
9285f6c7ae Made the instantiated/transactional fixtures settings be controlled through 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
2005-10-14 20:33:39 +00:00
Jamis Buck
4b78e5bddb Fix problem with RAILS_ENV being frozen when set from environment variable
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:51:33 +00:00
Jamis Buck
4efdee4ea5 Load plugins last
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:31:30 +00:00
Jamis Buck
445873af19 prepend to load path before loading the plugin
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:28:34 +00:00
Jamis Buck
7a854b5379 Add experimental plugin support #2335
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:25:15 +00:00
David Heinemeier Hansson
3b108e7d35 Dont redefine RAILS_ENV once set
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 11:11:21 +00:00
David Heinemeier Hansson
735f08aca0 Made the order of framework settings significant so config.action_controller.allow_concurrency can be specified before config.action_controller.fragment_cache_store, which relies on the value of the former
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 07:20:57 +00:00
David Heinemeier Hansson
854048a2ac Dont bitch over resetting const
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:37:44 +00:00
David Heinemeier Hansson
436d54c3f1 Only configure settings for loaded frameworks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-22 14:11:13 +00:00
David Heinemeier Hansson
9cc624df73 Include ActionView as a configurable framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 08:18:21 +00:00
David Heinemeier Hansson
3e7b597ff4 Cant use silence_warnings before active support is loaded
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 08:25:46 +00:00
David Heinemeier Hansson
428e0f4e63 Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the 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@2249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 06:42:07 +00:00
David Heinemeier Hansson
40b7809de5 Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the 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
2005-09-15 06:40:39 +00:00
David Heinemeier Hansson
a20ad655b5 Moved session and fragment options out
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 19:46:42 +00:00
David Heinemeier Hansson
6e8e9c20cb Control depedency mechanism, breakpoints, and whiny nils through the config
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 09:58:16 +00:00
David Heinemeier Hansson
284570fd00 Make it even easier to set a new session store and use symbols for log level too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 18:05:46 +00:00
David Heinemeier Hansson
87e7ed8aef Added Rails::Configuration support for fragment stores
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:49:07 +00:00
David Heinemeier Hansson
d25fe84a01 Added create_session_table, drop_session_table, and purge_session_table as 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
2005-09-12 17:30:40 +00:00
David Heinemeier Hansson
3cf7a0a460 Added Kernel#silence_warnings and puts it into use throughout the framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 04:58:27 +00:00
Jamis Buck
9eef247339 Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 12:36:40 +00:00
David Heinemeier Hansson
558707f61a Silence logger initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 23:05:58 +00:00
David Heinemeier Hansson
9fdd453257 Fix mocks dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 20:21:38 +00:00
David Heinemeier Hansson
177934e1d0 Talk about whats missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:04:33 +00:00
David Heinemeier Hansson
29436edb73 Also configure template view path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:44:19 +00:00
David Heinemeier Hansson
bc011df210 Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is 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
2005-09-03 15:13:06 +00:00