From 75c6cf8297a0fc04f15fbd57913e2771b757cbb9 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Fri, 4 Mar 2016 14:14:47 +0200 Subject: [PATCH] Story#111397154 - Legal documents do not have upated_At attribute --- lib/tasks/import_history.rake | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/tasks/import_history.rake b/lib/tasks/import_history.rake index e864a67d8..0d2a36f83 100644 --- a/lib/tasks/import_history.rake +++ b/lib/tasks/import_history.rake @@ -104,8 +104,7 @@ namespace :import do documentable_id: contact.id, document_type: leg_file.name.to_s.split(".").last, path: path, - created_at: leg_file.crdate, - updated_at: leg_file.crdate) + created_at: leg_file.crdate) end hash = { @@ -200,8 +199,7 @@ namespace :import do documentable_id: domain.id, document_type: leg_file.name.to_s.split(".").last, path: path, - created_at: leg_file.crdate, - updated_at: leg_file.crdate) + created_at: leg_file.crdate) end hash = { @@ -235,4 +233,4 @@ namespace :import do -end \ No newline at end of file +end