Forum: Rails-core (closed, excessive spam) 1.1.3 kills modularized controllers?

87206f3bf53d403e16ec023c56e904c5?d=identicon&s=25 Coda Hale (Guest)
on 2006-06-28 20:09
(Received via mailing list)
Howdy all,

I just installed 1.1.3, and all of a sudden my modularized controller
doesn't have a valid route. Admin::NewsController used to be mapped by
default in 1.1.2, but 1.1.3 doesn't find it.

The problem appears to be in
which checks to see if the directory "app/controllers/admin/news"
exists, but not that the file
"app/controllers/admin/news_controller.rb" exists (which it does).

My current workaround is to change line 255 of
actionpack/lib/action_controller/routing.rb from this:

  next unless path

to this:

  next unless || File.exists?(path +

Obviously this will become a moot point when 1.2 comes out with the
new routing code, but right now 1.1.3 appears to kill the routing to
any modularized controllers, and I don't know of any way to write a
route to a modularized controller without changing

1b83454abeeb627eb42abc214ebbae00?d=identicon&s=25 Nicholas Seckar (Guest)
on 2006-06-28 20:19
(Received via mailing list)
Thanks for the bug report. This has been fixed in [4501].

Sorry for the breakage,
Nicholas Seckar
This topic is locked and can not be replied to.