摘要:
http://gregmoreno.ca/rails-3-upgrade-part-2-routes/http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ 阅读全文
posted @ 2010-11-04 21:43
lexus
阅读(220)
评论(0)
推荐(0)
摘要:
http://gregmoreno.ca/rails-3-upgrade-part-2-routes/http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ 阅读全文
posted @ 2010-11-04 21:43
lexus
阅读(220)
评论(0)
推荐(0)
摘要:
http://gregmoreno.ca/rails-3-upgrade-part-2-routes/ 阅读全文
posted @ 2010-11-04 19:23
lexus
阅读(131)
评论(0)
推荐(0)
摘要:
Rails Plugin: Paperclip Questionup vote5down votefavorite2How can I prevent the image tag that calls the associated image from displaying if no image is associated with the record?...gives me the text... 阅读全文
posted @ 2010-11-04 18:59
lexus
阅读(288)
评论(0)
推荐(0)
摘要:
http://www.kuqin.com/rubycndocument/index.html Ruby数组操作的总结 学习Ruby过程中总结了一些Ruby中常用的数组操作。1、数组定义arr1=[]arr2=Array.newarr3=['1','2','3']2、输出printarr3,"\n"#123putsarr3[0]#1printarr3.join(",")#1,2... 阅读全文
posted @ 2010-11-04 09:38
lexus
阅读(348)
评论(0)
推荐(0)
摘要:
http://www.kuqin.com/rubycndocument/index.html 阅读全文
posted @ 2010-11-04 09:35
lexus
阅读(142)
评论(0)
推荐(0)
摘要:
技术感言,凡事不可太尽http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/ 阅读全文
posted @ 2010-11-03 22:20
lexus
阅读(135)
评论(0)
推荐(0)
摘要:
http://www.uploadify.com/documentation/ 阅读全文
posted @ 2010-11-03 16:03
lexus
阅读(214)
评论(0)
推荐(0)
摘要:
http://ruby-doc.org/ 阅读全文
posted @ 2010-11-03 15:33
lexus
阅读(153)
评论(0)
推荐(0)
摘要:
http://yc75.javaeye.com/blog/379929"100x100>".scan(/\d+/)=> ["100", "100"] 阅读全文
posted @ 2010-11-03 13:37
lexus
阅读(249)
评论(0)
推荐(0)
摘要:
2009-08-04Ruby数组操作总结数组的创建 arr = Array.new num #创建num个元素的数组,所有数组元素为nil arr = Array.new num, elem #创建num个元素的数组,所有数组元素为elem arr = Array(m..n) #创建m..n元素为m到n的数组(包括n) m...n不包括n arr = (Array)[elem1, elem2,.... 阅读全文
posted @ 2010-11-03 12:47
lexus
阅读(233)
评论(0)
推荐(0)
摘要:
<%= form_for (@upload, :html => { :multipart => true }) do |f| %>wrong<%= form_for(@upload, :html => { :multipart => true }) do |f| %>right怎么不能差一个空格,不是说是ruby语法松散吗 阅读全文
posted @ 2010-11-03 11:40
lexus
阅读(190)
评论(0)
推荐(0)
摘要:
http://rio.rubyforge.org/适合做后台管理菜单 阅读全文
posted @ 2010-11-03 10:05
lexus
阅读(176)
评论(0)
推荐(0)
摘要:
http://yuan.javaeye.com/blog/604174好文http://trevorturk.com/2009/03/22/randomize-filename-in-paperclip/http://trevorturk.com/2008/12/11/easy-upload-via-url-with-paperclip/ rails console下利用paperclip处理远程... 阅读全文
posted @ 2010-11-03 09:58
lexus
阅读(668)
评论(0)
推荐(0)
摘要:
rails g paperclip user avatar这样生成了一个migration file,下面这段是自动生成滴view sourceprint?01classAddAttachmentAvatarToUser< ActiveRecord::Migration02def self.up03add_column :users, :avatar_file_name, :string04... 阅读全文
posted @ 2010-11-02 23:29
lexus
阅读(282)
评论(0)
推荐(0)
摘要:
http://deepliquid.com/content/Jcrop_Download.html 阅读全文
posted @ 2010-11-02 21:42
lexus
阅读(92)
评论(0)
推荐(0)
摘要:
jquery-option-tree is a jquery plugin help you presentation &maintaina tree structure very easy with json data.you only need to build a nested json string on server-side.this is very easily with r... 阅读全文
posted @ 2010-11-02 21:39
lexus
阅读(257)
评论(0)
推荐(0)
摘要:
Me No Blog Hella Ugly!April 10th, 20092 commentsWelcome to the 2000’s, self!I’m ever so excited to be blogging at a blog that not only understands code highlighting, but doesn’t loo... 阅读全文
posted @ 2010-11-02 14:23
lexus
阅读(210)
评论(0)
推荐(0)
摘要:
Me No Blog Hella Ugly!April 10th, 20092 commentsWelcome to the 2000’s, self!I’m ever so excited to be blogging at a blog that not only understands code highlighting, but doesn’t loo... 阅读全文
posted @ 2010-11-02 14:19
lexus
阅读(548)
评论(0)
推荐(0)
|