How to save an object with its associations into session

Hi,

How do I save an object with its children into the session? By default
AR cleans the children when I put the object there.

And if someone knows any docs about that please show the link.

Thks,

Bruno Reis

that is what I can't do: session[:user].contacts.length