Re: @state not being saved

2008-07-30 Thread Julik Tarkhanov
I've pointed to the fact that its not a problem of activerecord but the stubbornness of the camping session module (insisting on natural primary key) that keeps it from working -- Julian Julik Tarkhanov On 29-jul-2008, at 17:13, Bluebie, Jenna [EMAIL PROTECTED] wrote: Also worth noting

Re: @state not being saved

2008-07-30 Thread Julik Tarkhanov
ActiveRecord::Base.partial_updates = false and you should be good to go -- Julian Julik Tarkhanov On 29-jul-2008, at 16:11, Magnus Holm [EMAIL PROTECTED] wrote: For some reason, AR 1.2 can't save serialized data. At least in the tests I have done with Camping's Session model. For now we

Re: @state not being saved

2008-07-29 Thread Eric Mill
Is it that AR 2.1 only has problems in conjunction with Camping? Or is table-based session support totally broken in Rails 2.1 right now? -- Eric On Tue, Jul 29, 2008 at 1:10 AM, Alpha Chen [EMAIL PROTECTED] wrote: This happened to me... I saw an email on this list earlier about AR 2.1.0

Re: @state not being saved

2008-07-29 Thread Magnus Holm
For some reason, AR 1.2 can't save serialized data. At least in the tests I have done with Camping's Session model. For now we have to stick with 2.0.2, but I know the problem has been reported. 2008/7/29, Eric Mill [EMAIL PROTECTED]: Is it that AR 2.1 only has problems in conjunction with

Re: @state not being saved

2008-07-29 Thread Fred Phillips
On Mon Jul 28 22:10:44 2008, Alpha Chen wrote: This happened to me... I saw an email on this list earlier about AR 2.1.0 having problems, and reverting back to 2.0.2 got session support working again. On the command line: $ gem install --version '=2.0.2' activerecord In Camping: gem

@state not being saved

2008-07-28 Thread Fred Phillips
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’t updated in the table. I know that Session::service is called

Re: @state not being saved

2008-07-28 Thread Alpha Chen
This happened to me... I saw an email on this list earlier about AR 2.1.0 having problems, and reverting back to 2.0.2 got session support working again. On the command line: $ gem install --version '=2.0.2' activerecord In Camping: gem 'activerecord', '=2.0.2' Alpha On Mon, Jul 28, 2008 at