[Rails] 1.1.5 Upgrade and config.load_path not working

David Clements digidigo at gmail.com
Thu Aug 10 15:44:20 GMT 2006


Hey,

I am trying to upgrade to 1.1.5 and rails no longer finds my controllers the
live outside app/controllers.  I was on 1.1.2 previously and here is my
setup

In environment.rb


 config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/controllers")  ]
  config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/helpers")  ]
  config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/lib")  ]

And within rails_shared/controllers I have a login_controller.  When I hit
the stie I see this:

Routing Error

Recognition failed for "/login/login_form"

I had previously tried to use controller_paths but that had never worked for
me.


Anyone have any ideas?


Thanks,

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060810/5bf74f4c/attachment.html


More information about the Rails mailing list