QRCode plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://qrcode-rails.googlecode.com/svn/trunk/plugins/qrcode/
Usage
-----
- In your rails project, install the plugin by following command:
./script/plugin install http://qrcode-rails.googlecode.com/svn/trunk/plugins/qrcode
- Add javascript include tag in HTML header:
<%= javascript_include_tag :defaults %>
- Add following funtion to where you want to generate QRCode.
<%= qrcode('http://www.google.com/', 2, 4, 'my-qrcode') %>
* The first parameter is URL
* The second optional parameter is pixel size.
* The third optional parameter is QR Code type number, 1-10, the higher the number, more data can be stored. Default 4.
* The 4th optional parameter is ID of the generated div
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago

