From 739f8b5b4e895dcae6ca67db7a252a3a81fcea37 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Thu, 13 Jul 2017 13:49:26 +0200 Subject: [PATCH] remove redundant rollback call --- app/controllers/repository_rows_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/repository_rows_controller.rb b/app/controllers/repository_rows_controller.rb index f971ae73f..03d3637fd 100644 --- a/app/controllers/repository_rows_controller.rb +++ b/app/controllers/repository_rows_controller.rb @@ -136,7 +136,6 @@ class RepositoryRowsController < ApplicationController } end end - raise ActiveRecord::Rollback if errors[:repository_cells].any? end # Clean up empty cells, not present in updated record @record.repository_cells.each do |cell|