method

create_entry

create_entry(key, value)
private

No documentation available.

# File activerecord/lib/active_record/internal_metadata.rb, line 116
      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