This code should be consistent with filter_attributes_on_save (the encoding and the decoding should be in the same file
sequel/order or order. I would personnally move them to order (as the session is responsible of pack/unpack the uuid correctly)