Forum: Ruby on Rails Namespaces + RESTful. Why not?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
David W. (Guest)
on 2007-02-07 17:29
I'm hearing varying opinions on this issue.

Why shouldn't we use namespaces when using RESTful routes?

Take these two controllers:


They are each managing two different types of model. NovelCharacter and

Though the namespaces, Films:: and Novels:: also have other controllers
beneath that would clash with the controllers of each if there weren't

I'm not talking about a pointless Admin:: namespace - these are
namespaces that are genuinely needed.

I've seen this thread on how to implement it:

Though is there an easier method?
This topic is locked and can not be replied to.