search for: temp_requests_id_seq

Displaying 1 result from an estimated 1 matches for "temp_requests_id_seq".

2007 Aug 23
6
Saving ActiveRecord in PostgreSQL without id
...table that is used to temporarily queue requests, as such it does not have an id field (or any other primary key), because it doesn''t make sense to have one. When I created an ActiveRecord class and tried to save it, I get: ActiveRecord::StatementInvalid: PGError: ERROR: relation "temp_requests_id_seq" does not exist It keeps looking for the id to auto increment, even though it doesn''t exist. Any suggestions on how to overcome this? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are...