- 浏览: 145413 次
- 性别:
- 来自: 北京
文章分类
最新评论
1. In your rails project, install the plugin by following command:
./script/plugin install http://qrcode-rails.googlecode.com/svn/trunk/plugins/qrcode
2. Add javascript include tag in HTML header:
<%= javascript_include_tag :defaults %>
3. Add following funtion to where you want to generate QRCode.
<%= qrcode('http://www.google.com/', 2) %>
* The first parameter is URL
* The second optional parameter is pixel size.
4. Done!
For details, please check the QRCode project page.
Sample Code
<%= qrcode('http://www.google.com/', 8 ) %>
发表评论
-
Google App Engine and others
2010-09-15 11:27 755有用的技术文章 先记载 有空 研究下 さくっとRails ... -
基于jquery和mini_magick的图片裁剪
2010-09-15 11:07 1425引用网址 http://duyouhua1214.iteye ... -
ruby gem相关命令使用
2010-08-26 12:45 1556gem相关命令使用 1.显示gem的帮助和版本 gem – ... -
深入理解alias, alias_method和alias_method_chain
2010-08-06 17:14 942http://blackanger.blog.51cto.co ... -
Rails 3 特点
2010-08-06 16:38 865真的想留下来 http://railslove.com/w ... -
Fix N+1 Queries
2010-08-06 16:16 882http://rails-bestpractices.com/ ... -
query-reviewer sql explain and review in the page
2010-08-06 12:20 1288引用网址 http://github.com/dsboulde ... -
request-log-analyzer log分析工具
2010-08-06 12:03 1570参考网址: http://github.com/wvanber ... -
IE7 Bug导致Rails Session保存失败
2010-08-06 10:56 945http://www.letrails.cn/archives ... -
Rails保存记录而不更新时间戳
2010-08-06 10:54 1314引用地址: http://www.letrails.cn/a ... -
rmagick ror 上 安装
2009-11-18 09:06 821rmgick 安装规范 ror很多人现在在用了,但是发现 ... -
Update Rails to 2.2.2 (Rails 2.2.2)
2009-03-08 14:53 952gem install -v=2.2.2 rails Suc ... -
Use helpers in controllers or models
2009-01-19 16:22 882引用http://snipplr.com/view/2505/ ... -
open-flash-chart
2008-11-07 14:07 2394http://pullmonkey.com/2008/7/23 ... -
rake db:migrate
2008-11-07 11:58 1241【ruby on rails】rake db:migrate ... -
rss maker
2008-11-07 11:43 1077http://gdgdlog.net/log/show/130 ... -
acts_as_authenticated
2008-11-07 11:35 1054ruby script/plugin install act ... -
validates
2008-11-07 11:24 1033先週ずっとインフルエンザでダウンしてました。 今日はvail ... -
rails で model の変更を監視するプラグイン
2008-11-07 11:12 1339acts_as_modified モデルの変更を監視して、各 ... -
exception_notification
2008-11-07 11:03 11451 applicattion.rb 配置 incl ...
相关推荐
Considering the complex of the data required by Ministry of Transport of P.R.C every period of ten days, I design the following algorithm to generate the data required.
介绍如何在VanetMobiSim中产生NS2能够使用的trace file
How To Use Photos To Sell More Online (Part I) 149 How To Use Photos To Sell More Online (Part II) 161 How To Use Photos To Sell More Online (Part III) 177 Design To Sell: 8 Useful Tips To Help ...
How to use SFTP (with client validation - public key authentication) The topic How to use SFTP (with client validation - password authentication) discusses the simplest form of client ...
SAP专业教材资料06_howto_generate_bw_author_profile.pdf
You will learn about the basic plots, how to customize them, and combine them to make sophisticated figures. Along with basic plots, you will also learn to make professional scientific plots.
AN12554 Demo Application to Generate Red/Black Blobs Using CAAM and Encrypt/Decrypt Data
Generate_Text_To_QRCode-APK 用于将文本生成为QRcode的应用程序
Generate QRCode Using Powerbuilder 12
y Tricks with ODS to Generate Colorful Reports
A tool to generate class files to implement stored procedures创建类文件执行存储过程的工具
MATLAB package to generate contrast plots.zip
This book will guide the reader on how to automatically generate an working smart application based on requirement specifications. This book concludes with showing the reader how to generate a smart ...
perl programming code to generate the minimum spanning tree using kruskal
Matlab codes to generate GNSS PRNs, secondary code
SceneGen Learning To Generate Realistic Traffic Scenes
Work with data to generate interactive visualizations Create and customize simple web apps and deploy them safely online Deal with mistakes and errors so you can solve your own programming problems If...
Chapter 8, Exploit Development – Part 2, teaches how to generate a proper shellcode and how to inject a shellcode in an exploit. Chapter 9, Real-World Scenarios – Part 1, introduces a real-world ...
Immersive Teleconferencing A New Algorithm to Generate Seamless Panoramic.pdf