Flowdock
method

map_key_with_value

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: InsertAll
map_key_with_value() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/insert_all.rb, line 47
    def map_key_with_value
      inserts.map do |attributes|
        attributes = attributes.stringify_keys
        verify_attributes(attributes)

        keys.map do |key|
          yield key, attributes[key]
        end
      end
    end
Register or log in to add new notes.