I had a problem deploying my Rails application to Heroku, where this error occurs when trying to access the application:
PGError: ERROR: "organization" relationships do 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 = '"organizations"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum
Does anyone have any idea? This is the first for me, especially because I have been working with Heroku for a year in other applications and do not see anything like it. Of course, everything works on local SQLite.
ruby-on-rails postgresql rails-activerecord heroku
Mark Mar 27 '11 at 17:28 2011-03-27 17:28
source share