Jeremy Kemper
dbed69249f
require abstract_unit directly since test is in load path
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-05 13:33:00 +00:00
Rick Olson
f1b1af88b5
Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. Closes #9795 [lazyatom]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-08 05:29:44 +00:00
Michael Koziarski
41bfedeac2
Tidy up framework initialization code to ensure that it doesn't add folders to the load path that it doesn't intend to require.
...
Work around mongrel swallowing LoadErrors to ensure that users get more helpful errors if active_resource is required but not missing. [mislav] Closes #9743
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-04 04:16:06 +00:00
David Heinemeier Hansson
94d7633005
Fix test ( closes #9618 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-22 14:27:24 +00:00
Jeremy Kemper
4f375d5b82
Support multiple config.after_initialize blocks so plugins and apps can more easily cooperate. Closes #9582 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-18 01:45:37 +00:00
Jeremy Kemper
29d63a04ac
Canonicalize configuration.root_path and replace RAILS_ROOT.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-29 05:44:44 +00:00
Jeremy Kemper
6c434e8b8e
New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 08:09:38 +00:00
Jamis Buck
cdd49c5360
Constants set in the development/test/production environment file are set in Object
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-23 13:39:24 +00:00