Forum: Ruby on Rails tableize and model modules

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.
Sam L. (Guest)
on 2006-05-10 21:05
As my database and application grows, I'm starting to run into a large
number of models and naming conflicts. I found out that I can switch
big_complex_named_model.rb to module/simple_model.rb which changes
BigComplexNamedModel to Module::SimpleModel which cleans things up quite
a bit. However, if I run:
I get 'module/simple_models' which is not a valid table name.
If it were 'module_simple_model', or 'module__simple_model' (to
differentiate modules from class names) my life would be that much
Could this be considered a Rails bug, or am I just an edge case?
This topic is locked and can not be replied to.