Hi,

I have a starter app that I am trying to deploy to Heroku - it deploys and
db:migrates ok, or so it seems...

But when I try accessing the app, I get an ActiveRecord error, see below.

I can run it locally ok on sqlite and postgres (8.4), but Heroku does not
seem to like it.

Tried googling this group and generally, but only answers seem to relate to
forgetting to migrate - which I have done...

Thanks in advance for any clues/tips.
Chris


/home/slugs/271090_07ea067_eee5/mnt/.gems/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract_adapter.rb:221:in
`log': PGError: ERROR:  relation "---" does not exist
(ActiveRecord::StatementInvalid)
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
d.adsrc, a.attnotnull
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"---"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum
    from
/home/slugs/271090_07ea067_eee5/mnt/.gems/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:507:in
`query'
    from
/home/slugs/271090_07ea067_eee5/mnt/.gems/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1056:in
`column_definitions'
    from
/home/slugs/271090_07ea067_eee5/mnt/.gems/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:675:in
`columns'
    from
/home/slugs/271090_07ea067_eee5/mnt/.gems/gems/activerecord-2.3.8/lib/active_record/base.rb:1301:in
`columns'
    from
/disk1/home/slugs/271090_07ea067_eee5/mnt/vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb:112:in
`initialize'
    from
/disk1/home/slugs/271090_07ea067_eee5/mnt/vendor/plugins/active_scaffold/lib/active_scaffold.rb:57:in
`new'

-- 
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.

Reply via email to