Render QR codes from rails as images or SVG.
Auto-negotiates based on requested format and browser acceptance.
Put it in your Gemfile:
Use it in an action:
class MyController < ActionController::Base def my_action render qrcode: "something" end end
scale: 5 etc. to make it bigger.