require "rqrcode"

module Spree
  module Admin
    UsersController.class_eval do 

      def qr
        user = User.find(params[:id])
        code = { :profile => { :name => user.email, :server => request.host, :port => request.port, :key => user.api_key } }
        @qr = RQRCode::QRCode.new(code.to_json, :size => 10, :level => :l)

        respond_with { |format| format.html }
      end

  	end
  end
end
require "rqrcode"

module Spree
  module Admin
    UsersController.class_eval do 

      def qr
        user = User.find(params[:id])
        code = { :profile => { :name => user.email, :server => request.host, :port => request.port, :key => user.api_key } }
        @qr = RQRCode::QRCode.new(code.to_json, :size => 12, :level => :l)

        respond_with { |format| format.html }
      end

  	end
  end
end
Make users QR code size 12
Make users QR code size 12
