def attribute_changed_from_default?(attr)
      field = fields[attr]
      return false unless field
      attributes[attr] != field.eval_default(self)
    end
def attribute_changed_from_default?(attr)
      field = fields[attr]
      return false unless field
      attributes[attr] != field.eval_default(self)
    end
Get whether or not the field has a different value from the default.

 @example Is the field different from the default?
   model.attribute_changed_from_default?

 @param [ String ] attr The name of the attribute.

 @return [ true, false ] If the attribute differs.

 @since 3.0.0