This project is archived and is in readonly mode.
Changeset [89d1c77dd012f087c091e0f23874c582ea4e3703] by Tom Ward
Revision 89d1c77dd012f087c091e0f23874c582ea4e3703,
committed by Tom Ward
· August 22nd, 2008 @ 01:06 PM
Initializer to sort files before eager loading. [#859 state:resolved]
Changed Rails::Initializer to sort files before eager loading them. This ensures that any files in a parent directory will be loaded before files in a subdirectory of the 'same' name. i.e. zoo.rb will be loaded before zoo/reptile_house.rb
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
4 changed files
-
M
railties/lib/initializer.rb -
M
railties/test/fixtures/eager/zoo.rb -
M
railties/test/fixtures/eager/zoo/reptile_house.rb -
M
railties/test/initializer_test.rb