|
Project Information
Links
|
QRCode for Ruby on RailsA plugin for Ruby on Rails to generate QRCode (QRコード). AboutThis plugin use javascript to generate QRCode. The original javascript program is developed by Kazuhiko Arase. (http://www.d-project.com/qrcode/index.html) If you want to generate image directly from rails, check my another Rails QRCode Generator (its git repository) Usage
./script/plugin install http://qrcode-rails.googlecode.com/svn/trunk/plugins/qrcode <%= javascript_include_tag :defaults %> <%= qrcode('http://www.google.com/', 2, 8, 'my-qrcode') %>- Add following funtion to where you want to generate QRCode. ExampleYou can find source of an example project here: http://qrcode-rails.googlecode.com/svn/trunk/examples I have package the sample program into a WAR, deploy it into any Web Container (e.g. Tomcat, Jetty, Glassfish ...etc) to see how it works! Sample Code<%= qrcode('http://www.google.com/', 8) %>Sample Screen
LicenseReleased under the MIT license. Author
|