Look for normal and marshaled data, self.find_by_session_id’s way of
telling us to postpone unmarshaling until the data is
requested. We need to handle a normal data attribute
in case of a new record.
# File activerecord/lib/active_record/session_store.rb, line 237
def initialize(attributes)
@session_id = attributes[:session_id]
@data = attributes[:data]
@marshaled_data = attributes[:marshaled_data]
@new_record = @marshaled_data.nil?
end