lib/mass_insert/base.rb in mass_insert-0.2.4 vs lib/mass_insert/base.rb in mass_insert-0.2.5
- old
+ new
@@ -1,8 +1,9 @@
module MassInsert
module Base
def mass_insert(values, options = {})
- options[:class_name] ||= self
+ options[:class_name] ||= self
+ options[:primary_key] ||= false
Process.new(values, options).start
end
end
end