Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f] by Xavier Noria

Revision b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f, committed by Xavier Noria · June 20th, 2010 @ 11:40 PM

files in the lib directory are no longer autoloaded

Conceptually, the lib directory is closer 3rd party libraries
than to the application itself. Thus, Rails adds it to Ruby's
load path ($LOAD_PATH, $:) but it is no longer included in
dependencies' load paths.

To enable autoloading back put this in your config/application.rb

config.load_paths += %W( #{config.root}/lib ) http://github.com/rails/rails/commit/b5fe014fdcc285f3bcb8779c4f7cfb...

2 changed files

  • M railties/lib/rails/engine/configuration.rb
  • M railties/test/application/initializers/load_path_test.rb