This project is archived and is in readonly mode.

Changeset [89d1c77dd012f087c091e0f23874c582ea4e3703] 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...

Committed by Tom Ward

  • 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

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>