[Rails] Defect question?

Nicholas Seckar nseckar at gmail.com
Thu Mar 3 07:24:25 GMT 2005


On Tuesday 01 March 2005 19:52, Michael Koziarski wrote:
> Hey guys,
>
> Take a look at http://dev.rubyonrails.org/ticket/732.  The essential
> 'problem' is that Rails doesn't support a module and a class both
> named Customer. (::Customer,  not in modules themselves)

I agree. This could be supported by putting all models inside a Models module 
and all controllers inside a Controllers module. My opinion is that the 
effort isn't worth it.

Another option would be to give controller modules names such as 
CustomerModule or CustomerControllers.

-- 

Nicholas Seckar aka. Ulysses


More information about the Rails mailing list