i know this may be easy, but i cant find how to do this.
i have a table called status_def
i want to generate a scaffold for it, but it will not let me create
one because (i think) the table name is not plural.
is there a command line option to script/generate that will allow me
to create a scaffold if the table is not plural ?
btw - all my other tables obey conventions nice, but too much code
will have to be re-written to change the name of this table.
one of the fields in the status_def table is oem. if i generate a
scaffold for this table, can i put something in the model that will
only allow records of oem = ‘somecompany’ to be selected ?
thanks for any tips