class ActiveModel::AttributeSet

def write_from_database(name, value)

def write_from_database(name, value)
  @attributes[name] = self[name].with_value_from_database(value)
end