From cea6d15d3ed663d1a3237abde3415bd878534d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Tue, 13 Jun 2017 18:15:47 +0200 Subject: [PATCH] Fixed Hound warning. [SCI-1351] --- app/controllers/repository_rows_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/repository_rows_controller.rb b/app/controllers/repository_rows_controller.rb index f501167ab..69ed6a3cf 100644 --- a/app/controllers/repository_rows_controller.rb +++ b/app/controllers/repository_rows_controller.rb @@ -106,7 +106,8 @@ class RepositoryRowsController < ApplicationController existing.value.data = value unless existing.value.save errors[:repository_cells] << { - "#{existing.repository_column_id}": existing.value.errors.messages + "#{existing.repository_column_id}": + existing.value.errors.messages } raise ActiveRecord::RecordInvalid end