This project is archived and is in readonly mode.

Changeset [9b19a6f16cebf4257d2f0b839f6cc8ff5db5c47b] 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...

Committed by José Valim

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>