Displaying 1 result from an estimated 1 matches for "module__simple_model".
Did you mean:
module_simple_model
2006 May 10
0
tableize and model modules
...nges
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'' (to
differentiate modules from class names) my life would be that much
easier.
Could this be considered a Rails bug, or am I just an edge case?
--
Posted via http://www.ruby-forum.com/.