Want to let everyone know that I am almost done hacking the generator.
However I hit into an issue which due to my short age with ruby I
don’t understand how to implement properly- the route_resources
command does not allow me to do namespace. I want to add 2 methods,
one to add namespace, the other one to do route_resources within a
specified namespace, how should I add it to the Rails generator create
command? (I bet its something like extend/include an addon module? but
somehow I am a bit confused on this one still) it would be great if
someone could contribute this piece of code.
Most important thing: you may get the code from google code:
Simply use SVN to checkout and put it in your .rails home to play
around it. Or you may also create a new rails project and then throw
it inside lib/generators.