Ruby on Rails
⑥②
这个作者很懒,什么都没留下…
展开
-
Rails link_to 详解
例子: 代码: "issue", :action => "index"}, {:title => "Issues"} %> 事实上,html元素的属性都可以通过这样的方式来设置。比如添加一个click事件处理: 代码: "issue", :action => "index"}, {:onclick => "alert(1)"} %> 但是值得注意的就是,link_t转载 2012-11-25 14:37:20 · 1120 阅读 · 0 评论 -
Ruby Net::HTTP cheat sheet
Update: It’s on GitHub now.I always have to look up how to use Net::HTTP, and I never find what I’m looking for. Behold, a cheat sheet!A basic requestrequire "net/https"require "uri"uri转载 2012-11-26 00:47:17 · 1234 阅读 · 0 评论