Rails 1.2 RC1 and $load_path


I have a plugin that has a controller class in it. I use to do this in Rails 1.1 to get Rails to recognize my controller in the init.rb of my plugin:

config.controller_paths << File.join(directory, 'controllers') $LOAD_PATH << File.join(directory, 'controllers')

but in Rails 1.2 I get an "NameError: uninitialized constant" when I try to access the controller class.

I now have to add require "some_controller" to my init.rb

Should I report this is a regression bug or is this something I have to live with because loading of classes has changed?

Thanks in advance. Scott.