Hi,
I’m trying to create a controller and model called Articles (yet
another blogging system ) and put it under a controller called
admin. I used the following command to do it:
script/generate scaffold admin/article title:string user_id:integer
body:text
My issue is with the name that rails gives the model. Instead of
calling it Article, the model is called Admin_Article. Is there a way
to have the scaffold generator create the model as Article instead of
Admin_article?
Thank you.
Nicolas K.