> I ran into this issue when I backuped a database and restored it back 
> into another system.

You might want to look into how that database got backed up.  By default (at 
least every where I've done it) pg_dump will include the statements necessary 
to "reset" the sequences... that is, all my dumps have lines like this:

SELECT pg_catalog.setval('banners_id_seq', 6, true);

Might be you're missing that or missing the permissions to set that.

-philip

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to