search for: partsgroup

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

2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
...want to use Rails to access it and not pure SQL. When I try to insert a record I get the following message: ActiveRecord::StatementInvalid: RuntimeError: ERROR C42P01 Mrelation "parts group_id_seq" does not exist Fnamespace.c L200 RRangeVarGetRelid: SELEC T currval(''partsgroup_id_seq'') This is of course true, because of the global sequence.I did look into the postgres_adapter and found pk_and_sequence_for but I am only understanding nada. ;-) schema: lxtest=# \d partsgroup Table "public.partsgroup" Column |...