Fixed Hound warning. [SCI-1351]

This commit is contained in:
Matej Zrimšek 2017-06-13 18:15:47 +02:00
parent 1bc46fe0cb
commit cea6d15d3e

View file

@ -106,7 +106,8 @@ class RepositoryRowsController < ApplicationController
existing.value.data = value existing.value.data = value
unless existing.value.save unless existing.value.save
errors[:repository_cells] << { errors[:repository_cells] << {
"#{existing.repository_column_id}": existing.value.errors.messages "#{existing.repository_column_id}":
existing.value.errors.messages
} }
raise ActiveRecord::RecordInvalid raise ActiveRecord::RecordInvalid
end end