我將我的應用程序部署到Heroku。當我想查看記錄時,它會返回錯誤:Heroku在活動管理員返回Postgres錯誤
2012-07-13T22:28:04+00:00 app[web.1]: Started GET "/admin/non_profits/1" for 200.40.55.210 at 2012-07-13 22:28:04 +0000
2012-07-13T22:28:06+00:00 app[web.1]: ActionView::Template::Error (PG::Error: ERROR: operator does not exist: character varying = integer
2012-07-13T22:28:06+00:00 app[web.1]: LINE 1: ...Profit' AND "active_admin_comments"."resource_id" = 1 AND "a...
2012-07-13T22:28:06+00:00 app[web.1]: HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
任何提示?
你使用Postgres作爲你的開發數據庫嗎? – 2012-07-14 01:50:01
不可以。我的開發數據庫是MySql。 – Tony 2012-07-14 15:42:46