• X
    files in the lib directory are no longer autoloaded · b5fe014f
    Xavier Noria 提交于
    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 )
    b5fe014f
load_path_test.rb 2.5 KB