Robby Russell wrote in post #72333:

>
> SELECT setval('entities_id_seq', (SELECT MAX(id) FROM entities)+1);
>
> reload your app...and see if its still happening.
>
> Good luck!
>
> -Robby

I don't code with Ruby but i registered only to say THANK YOU Robby you 
saved my day.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to