your running datamapper model has 1 field, but the database has 8. you must
migrate your database each time you change your model and then restart your
app. Jus a guess. Some code here might help.

On Thu, Nov 21, 2013 at 12:50 PM, Christoph Blank <ch.bl...@gmail.com>wrote:

> Hi there,
>
> Does anyone know what this Datamapper/mysql exception means?
> ArgumentError (Field-count mismatch. Expected 1 fields, but the query
> yielded 8):
>
> It happens not regularly, so I have no idea what it means
> Shortly after it I get
> DataObjects::SQLError (Lost connection to MySQL server during query)
>
> Thanks a lot,
> Christoph
>
> --
> You received this message because you are subscribed to the Google Groups
> "DataMapper" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to datamapper+unsubscr...@googlegroups.com.
> To post to this group, send email to datamapper@googlegroups.com.
> Visit this group at http://groups.google.com/group/datamapper.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to