search for: bigcomplexnamedmodel

Displaying 1 result from an estimated 1 matches for "bigcomplexnamedmodel".

2006 May 10
0
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: ''Module::SimpleModel''.tableize I get ''module/simple_models'' which is not a valid table name. If it were ''module_simple_model'', or ''module__simple_model'&...