This project is archived and is in readonly mode.
Changeset [9b19a6f16cebf4257d2f0b839f6cc8ff5db5c47b] by José Valim
Revision 9b19a6f16cebf4257d2f0b839f6cc8ff5db5c47b,
committed by José Valim
· June 28th, 2010 @ 12:22 AM
A few changes were done in this commit:
- Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7;
- Do not autoload code in lib for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins);
- Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController; http://github.com/rails/rails/commit/9b19a6f16cebf4257d2f0b839f6cc8...
10 changed files
-
M
railties/lib/rails/application.rb -
M
railties/lib/rails/application/configuration.rb -
M
railties/lib/rails/engine.rb -
M
railties/lib/rails/engine/configuration.rb -
M
railties/lib/rails/paths.rb -
M
railties/lib/rails/plugin.rb -
M
railties/test/paths_test.rb -
M
railties/test/railties/engine_test.rb -
M
railties/test/railties/plugin_test.rb -
M
railties/test/railties/shared_tests.rb