fuel / oil

Fuel PHP Framework - Fuel v1.x Oil command-line package
http://fuelphp.com/docs/packages/oil/intro.html
106 stars 67 forks source link

oil generate: singular works only if crud is also specified #179

Closed knitinr closed 11 years ago

knitinr commented 11 years ago

When using oil's code generation feature, the --singular option takes effect only when the --crud option is specified. If --singular is used without --crud, the table name override is missing from the model class and therefore the application looks for a table with the plural name.