On 11 Feb 2009, at 10:21, Mathieu R. wrote:
With default AR it always did this for me automatically… Frederick
said something about using a different flavour of AR, but that’s
beyond my knowledge…
To expand on what I said, when you use active_record_store you provide
a session class that handles the loading and saving of the data (as
opposed to the other bits of a session store). Rails provides an
implementation which is just a plain old model class but you can
replace that with one that just issues raw sql statements (mostly in
the interest of speed). An example one is included with rails.
Obviously if you didn’t know any of that you probably haven;'t done
In the absence of all that created_at and updated_at should update
automatically as it is just a regular ActiveRecord class. Dumb
question: did you restart your mongrel or whatever is handling your
requests after you added that column ?