I would also be interested in how this is supposed to work. I don't know where to enter the destroy command. There's only the generate/ rake/console part, but it doesn't work in the console (because it's a ruby shell and not a usual shell).
Any ideas how this should work? I don't want to start from scratch and it wouldn't fit to a real workflow anyway :-) On 10 Apr., 23:58, Clive <[email protected]> wrote: > Well, for example, I generated a Productscaffoldin Heroku Garden. > When I try todestroyit using the console, I get the following error: > > script/destroyscaffoldProduct > SyntaxError: compile error > /home/heroku_rack/lib/init.rb:1: syntax error, unexpected tIDENTIFIER, > expecting kDO or '{' or '(' > script/destroyscaffoldProduct > ^ > > Do you have any idea what this means (I'm a Rails/OO newbie)? > Many thanks > > On Apr 10, 2:45 pm, Yuri Niyazov <[email protected]> wrote: > > > script/destroyseems to have worked for me in the past; what do you > > mean by "doesn't seem to work?" > > > On Apr 10, 2009, at 3:36 AM, Clive wrote: > > > > 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/destroyscaffoldModelname' from the console doesn't seem to > > > work. > > > Does anyone have any ideas on this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
