Forum: Ruby on Rails Problem with map.resources and modules

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1e8f141e7857d397d8020ed3b759e88a?d=identicon&s=25 Maciej Piechotka (Guest)
on 2007-05-18 12:01
(Received via mailing list)
Is it possible to use map.resources + CRUD with controller in modules.
When I tries rails 1.2 throws error:

NameError (uninitialized constant LSpace::BooksControllerController):
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependenc
ies.rb:263:in `load_missing_constant'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependenc
ies.rb:452:in `const_missing'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
inflector
.rb:250:in `constantize'
    /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
core_ext/
string/inflections.rb:148:in `constantize'
    /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/
routing.
rb:1284:in `recognize'

Regards
--
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)
This topic is locked and can not be replied to.