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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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, > Swatiscript/destroy Scaffold? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
njmacinnes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-22 20:23 UTC
Re: Delete scaffold
ruby script/destroy scaffold foo On 22/04/07, smital <mital.swati-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---