lib/active_git/synchronizer.rb in active_git-0.0.1 vs lib/active_git/synchronizer.rb in active_git-0.0.2

- old
+ new

@@ -14,10 +14,10 @@ def run unless bulk_inserts.empty? define_job do bulk_inserts.each do |model, records| ::ActiveRecord::Base.logger.debug "[ActiveGit] Inserting #{model.model_name} models" - import_result = model.import records, :timestamps => false + import_result = model.import records, timestamps: false, validate: false raise SynchronizationError.new(import_result.failed_instances) unless import_result.failed_instances.empty? end end end \ No newline at end of file