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
On 30 Jun 2010, at 14:42, Victor Costan wrote:
> 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
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.