diff --git a/app/controllers/repository_rows_controller.rb b/app/controllers/repository_rows_controller.rb index 03d3637fd..f971ae73f 100644 --- a/app/controllers/repository_rows_controller.rb +++ b/app/controllers/repository_rows_controller.rb @@ -136,6 +136,7 @@ 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|