Forum: Ruby on Rails Commands out of sync

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
KC 1. (Guest)
on 2009-06-07 02:25
I'm getting this error when talking to MySQL

Status: 500 Internal Server Error
  Mysql::Error: Commands out of sync; you can't run this command now:
UPDATE `sessions` SET `data

This is the :active_record_store that is calling this command for the
session store.
Joel D. (Guest)
on 2009-06-07 02:35
It sounds like you are trying to run two commands at the same time and
your first command hasn't closed the session..  In otherwords, trying to
open more than one session without closing the first...
KC 1. (Guest)
on 2009-06-07 02:49
I'm running a command to retrieve some records from the DB.  This error
is for the active_record_store which rails uses to manage sessions.  I'm
not executing this command from my code.  Also, this is not happenning
on the dev server.
This topic is locked and can not be replied to.