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:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5018

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

Thank you,
    Victor

Victor,

This change was recently introduced by Xavier Nora in this commit:
http://github.com/rails/rails/commit/b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f

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

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

rgrds,
Jan De Poorter

That change was subsequently reverted.

http://github.com/rails/rails/commit/b311dbb0ba2f3679a21fd7cb53b867c580e1e809

With the latest in edge, they should autoload again.