I'm trying to troubleshoot a Sinatra app where we're suddenly seeing 
"model... does not have a primary key" errors. This is an API and endpoints 
that usually work fine will every now and then error out. When a ruby error 
occurs it just gets passed along as a message and we get something like 
"<Gugg::WebApi::Collection::Db::Acquisition @values={[lots of perfectly 
good values]}> does not have a primary key"

Gugg::WebApi::Collection::Db::Acquisition is a Sequel::Model that most 
certainly does have a primary key. The whole stack is Apache < Passenger < 
Sinatra < Sequel < MySQL. We've dealt with all the usual "database has gone 
away" errors and I'm trying to puzzle out if there's a intermittent MySQL 
error that would cause this error to happen in Sequel.  If anyone has any 
ideas...

Thanks,
SR

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-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].
Visit this group at http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to