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