这么说来。。楼主的项目是 rails2 的咯?
我先来, 大家好,我是蜗牛,下午,我没参加这个活动。。。。
楼主头像霸气!不过最好换个吧?
随便 google 的 This is where Dir.glob and its cousins come in. By "globbing" a number of files, you can use regular expression-like pattern matching to select just the files you want. Note that though these are like regular expressions, they are not. They're very limited compared to Ruby's regular expressions and are more closely related to shell expansion wildcards than regular expressions.
如果你是单一的中文网站,直接 K 汉字到 view 里就行了。 ruby-china 用的 mongoid,mongoid 相当于 ActiveRecord,自己就是一个 ORM
恭喜楼主。。。进入“靠谱”阵营。 接下来楼主可以造个轮子,写个博客或者 BBS 什么的练习练习。
这些 gem 在 github 上都有源码和简单的文档,楼主去一看便知 另外这个清单里的大部分 gem 在 railscasts 上也都有视频介绍
http://www.websanova.com/plugins/websanova/color-picker 随便 google 了一下
出错后不是直接 render 么?怎么会有什么 id?
我今天也折腾了一下。。。然后发现貌似很多 gem 不能装,又换回去了
楼主头像好可爱
yangdachuan.com ywen.cn secden.com uuxing.com xdianping.com manwoniu.com bijiatuan.com
啊。。楼主幸会。。我也是四川人,在南京