Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-03-04 20:37:00 +0300
committerJames Lopez <james@jameslopez.es>2016-03-04 20:37:00 +0300
commit7085850c50a6dd7072bd2c80f092b0c20f74d1dc (patch)
tree11fbad852ad2f413c48d1e2a0681f7ea69d89de7 /app/models/project_import_data.rb
parentc2b33d3b71215858892debeb45d93a69d530fd8e (diff)
fix specs
Diffstat (limited to 'app/models/project_import_data.rb')
-rw-r--r--app/models/project_import_data.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project_import_data.rb b/app/models/project_import_data.rb
index 493c82a94fa..23f4e97b8aa 100644
--- a/app/models/project_import_data.rb
+++ b/app/models/project_import_data.rb
@@ -12,8 +12,7 @@ require 'file_size_validator'
class ProjectImportData < ActiveRecord::Base
belongs_to :project
- attr_encrypted :credentials, key: Gitlab::Application.secrets.db_key_base
- serialize :credentials, JSON
+ attr_encrypted :credentials, key: Gitlab::Application.secrets.db_key_base, marshal: true
serialize :data, JSON