danmaclean / gee_fu

An extensible Ruby on Rails web-service application and database for visualising HTGS data
18 stars 5 forks source link

Stacktrace when going to 'forgot password' #49

Closed doomedramen closed 11 years ago

doomedramen commented 11 years ago

PG::Error: ERROR: prepared statement "a1" already exists : INSERT INTO "versions" ("created_at", "event", "item_id", "item_type", "object", "object_changes", "whodunnit") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"

...

activerecord (3.2.13) lib/active_record/connection_adapters/postgresql_adapter.rb:1202:in prepare' activerecord (3.2.13) lib/active_record/connection_adapters/postgresql_adapter.rb:1202:inprepare_statement' activerecord (3.2.13) lib/active_record/connection_adapters/postgresql_adapter.rb:1166:in exec_cache' activerecord (3.2.13) lib/active_record/connection_adapters/postgresql_adapter.rb:661:inblock in exec_query' activerecord (3.2.13) lib/active_record/connection_adapters/abstract_adapter.rb:280:in block in log' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activerecord (3.2.13) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'

doomedramen commented 11 years ago

Same when submitting /genomes/new

doomedramen commented 11 years ago

Setting prepared_statements : false fixes the issue for me short term, I am looking into incompatibility with my version of PG.