--Fba/0zbH8Xs+Fj9o
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I have a sqlite3 database with the sessions table and schema set up
correctly. Sessions are created fine and put in the table, the cookie
is set with the correct hash and the hash is found again but when
using @state the values aren updated in the table.

I know that Session::service is called and the contents of the record
are put into session like so:
#<Camping::Models::Session id: 1, hashid: "iSCMSIzV7ITsRTr0UMA8Gko3LEnY3bw4", created_at: "2008-07-24 17:11:43", ivars: {}>

I do @state.user = 5, then it then gets as far as making session look
like this:
#<Camping::Models::Session id: 1, hashid: "iSCMSIzV7ITsRTr0UMA8Gko3LEnY3bw4", created_at: "2008-07-24 17:11:43", ivars: {"TLCMS"=>{"user"=>5}}>

But then session.save doesn write to the table, and doesn throw an
error (session.save! doesn either). Can anyone see what is going
wrong?

-- 
Fred O. Phillips
BBC7 7572 755F 83E0 3209  504A E4F7 874F 1545 9D41

--Fba/0zbH8Xs+Fj9o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiNGRcACgkQ5PeHTxVFnUGdDQCgmAFQrJtAY0W2+IG2PjpBha53
W5AAoIk8EY3ZOwIwon5pCLJZjutttpi4
b6
-----END PGP SIGNATURE-----

--Fba/0zbH8Xs+Fj9o--