Clive
2009-Apr-12 12:33 UTC
Heroku Garden - reversing or changing a ''generate scaffold'' command
In Heroku Garden, is there a way of reversing or changing a ''generate scaffold'' command? I often find I need to make changes to the scaffolded application but I do not know how to. ''script/destroy scaffold Modelname'' from the console doesn''t seem to work. For example, I generated a Product scaffold in Heroku Garden. When I try to destroy it using the console, I get the following error: script/destroy scaffold Product SyntaxError: compile error /home/heroku_rack/lib/init.rb:1: syntax error, unexpected tIDENTIFIER, expecting kDO or ''{'' or ''('' script/destroy scaffold Product ^ Does anyone have any ideas on this? (I''m a Rails/OO newbie)? Many thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---