class ActiveRecord::InternalMetadata

def create_entry(key, value)

def create_entry(key, value)
  im = Arel::InsertManager.new(arel_table)
  im.insert [
    [arel_table[primary_key], key],
    [arel_table[value_key], value],
    [arel_table[:created_at], current_time],
    [arel_table[:updated_at], current_time]
  ]
  connection.insert(im, "#{self.class} Create", primary_key, key)
end