What are the repercussions of storing a model in the session with
respect to the relations being up to date and such? Is the information
actually serialized or is it loaded / unloaded in between actions?
(I would assume it’s being serialized but I would like to make sure).
Secondly, is this a good practice in Rails or should I be storing ID’s
instead and loading unloading from the DB myself?(It’s okay in other
technologies if you manage serialization well but Rails is still new to
I have some comments on BOTH serialization and load/unload with respect
to overhead, excessive db connections, netork IO etc etc, but I’ll get
into that if it’s needed when people reply.