Re: [DataMapper] Field Count mismatch exception?

2013-12-06 Thread Christoph Blank
Hi,

There are no pending migrations... so this cannot be the cause.
I think it is rather a connection issue..

On Friday, 29 November 2013 10:14:10 UTC+1, Alper Akgün wrote:

 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.b...@gmail.comjavascript:
  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+...@googlegroups.com javascript:.
 To post to this group, send email to datam...@googlegroups.comjavascript:
 .
 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.


Re: [DataMapper] Field Count mismatch exception?

2013-11-29 Thread Alper Akgün
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.comwrote:

 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.