migrate user.rb error correction