Files in lib/ not autoloaded anymore

Dear Rails core team,

I'm working with Rails edge, and I recently had a nasty surprise: the
classes defined in my lib/ files are not auto-loaded anymore, and I
have to require them explicitly. I put all the details in a ticket:

Is this intended behavior? If so, is there any configuration option
that will give me the old behavior back?

Thank you,


This change was recently introduced by Xavier Nora in this commit:

If you want this behaviour back you can add lib to the autoload_paths like this:

config.autoload_paths += %W( #{config.root}/lib )

Jan De Poorter

That change was subsequently reverted.

With the latest in edge, they should autoload again.