This commit is contained in:
zmagod 2017-06-22 17:32:12 +02:00
parent 2dd9b6ff19
commit 7367435c6d

View file

@ -136,6 +136,7 @@ class RepositoryRowsController < ApplicationController
} }
end end
end end
raise ActiveRecord::Rollback if errors[:repository_cells].any?
end end
# Clean up empty cells, not present in updated record # Clean up empty cells, not present in updated record
@record.repository_cells.each do |cell| @record.repository_cells.each do |cell|