Re: db:push internal server error

2009-04-10 Thread Ricardo Chimal, Jr.
taps 0.2.14 should fix your schema_migrations issue. also, you can wipe out (reset) your database by doing heroku db:reset --app On Apr 9, 9:44 pm, Bill Burcham wrote: > The reason it worked for me was that: > precondition: fully migrated schema existed on heroku > 1. tried to push from local

Re: Reversing or changing a 'generate scaffold' command

2009-04-10 Thread Clive
Well, 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 '('

Migration error

2009-04-10 Thread sausheong
Hi, I've been trying to migrate an existing Rails 2.1 app up to Heroku and I encountered this problem with Postgresql: -- ActionView::TemplateError (PGError: ERROR: operator does not exist: character varying = integer LINE 1: ...M "group_prefs" WHERE ("group_prefs".group_id = 1) LIMI...

Re: Reversing or changing a 'generate scaffold' command

2009-04-10 Thread Yuri Niyazov
script/destroy seems 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

Reversing or changing a 'generate scaffold' command

2009-04-10 Thread Clive
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. Does anyone have any ideas on this? --~--~