Skip to content
Snippets Groups Projects
Commit a372ec33 authored by Raphael's avatar Raphael
Browse files

fixing uninitialized constant in rake task

parent be8b16c5
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ namespace :db do
end
task :move_private_key do
require File.dirname(__FILE__) + '/../../config/environment'
User.all.each do |user|
if user.private_key.nil?
user.private_key = user.person.serialized_key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment