QR Code Generator in Rails

user604586 picture user604586 · Feb 20, 2011 · Viewed 10.6k times · Source

I am looking for help to implement a QR Code generator on my site. The site is built in Ruby on Rails. I have tried to use rqrcode but could not seem to get it to work. I would like to use the google chart API.

OVERVIEW:

A simple QR code generator. In the view, a user can pass in a string, the string is then stored, and then sent to the QR code generator script, at this point the resulting QR Code image should be displayed back to the user.

Answer

samvincent picture samvincent · May 23, 2011

Just released a gem that makes this very easy if you're using rails 3.

Follow the installation documentation at: https://github.com/samvincent/rqrcode-rails3