Rails has the really nice ability to store an AR model object in the session for easy access. Additionally, it obeys the following rules:
If obj.new_record? == true, then any associations on the object will be saved in the session as well. If obj.new_record? == false, then any associations whether association.new_record? == true […]
April 22, 2007
Posted in
