Module: MassInsert::Base

Defined in:
lib/mass_insert/base.rb

Instance Method Summary collapse

Instance Method Details

#mass_insert(values, options = {}) ⇒ Object



3
4
5
6
7
# File 'lib/mass_insert/base.rb', line 3

def mass_insert(values, options = {})
  options[:class_name]  ||= self
  options[:primary_key] ||= false
  Process.new(values, options).start
end