We ran into this before on another extension, there's an SQL difference with Postgres that affects some group queries. I just need to remember which one and I'll apply the fix.

j

On Aug 12, 2010, at 6:55 PM, Steven Southard wrote:

With 9.1 on Heroku I am having a problem saving new pages. It saves pages I made on my localhost just won't make a new one.

I get this:

ActiveRecord::StatementInvalid (PGError: ERROR: invalid input syntax for integer: "" : SELECT * FROM "page_parts" WHERE ("page_parts"."id" IN ('','')) AND ("page_parts".page_id = NULL) ORDER BY id): /home/slugs/258179_58f1601_b92e/mnt/.gems/gems/will_paginate-2.3.14/ lib/will_paginate/finder.rb:170:in `method_missing' radiant (0.9.1) app/controllers/admin/resource_controller.rb:64:in `create'

Is there a problem with page_parts or will_paginate-2.3.14? Any ideas?


Cheers,


Steven




Reply via email to