Tableize and model modules

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs