Delete scaffold

Hi, I created a scaffolding using the "generate" script for a table, lets call it "foo", in MySql database. I have now modified the database by adding new tables and deleting the table "foo". How do I now delete the scaffolding against this table in the rails framework? I don't want to manually go into app/ directory and delete the "foo" model, view, controller in case there is some residue left behind. Is there a better way of solving this problem. Thanks for your help in advance, Swati

smital wrote:

Hi, I created a scaffolding using the "generate" script for a table, lets call it "foo", in MySql database. I have now modified the database by adding new tables and deleting the table "foo". How do I now delete the scaffolding against this table in the rails framework? I don't want to manually go into app/ directory and delete the "foo" model, view, controller in case there is some residue left behind. Is there a better way of solving this problem. Thanks for your help in advance, Swati

script/destroy Scaffold?

ruby script/destroy scaffold foo