# File lib/active_record/attribute_methods/serialization.rb, line 109
      def attributes_before_type_cast
        super.dup.tap do |attributes|
          self.class.serialized_attributes.each_key do |key|
            if attributes.key?(key)
              attributes[key] = attributes[key].unserialized_value
            end
          end
        end
      end