references_many,referenced_in 和 has_many, belongs_to 是一个意思
#5 楼 @linjunhalida 其实或许该像个办法抽象出来,不然那个地方你忘记加 I18n.locale.to_s 的时候就悲剧了
belongs_to # 一对多,与 has_many,has_one 套用
has_one # 一对一
has_many # 一对多的另外一方
has_and_belongs_to_many # 多对多
严重不喜欢这类 Flash 实现的
看起来还有一些不痛不痒的小 bug,不过影响大局,慢慢修,比如上面 a 标签里面多了个分号
markdown 之前和 xdite 讨论过,很多用不上,其实这次改了以后基本上就够用了。
Ops, 发现 bug 了...
试试用 cache_path
class HomeController < ApplicationController
caches_action :index, :cache_path => Proc.new { |c| "home/index" }
end
#12 楼 @jinleileiking ......
赞!
Gravatar 在你哪里无法访问
别担心,备案快下来啦
上内容和照片啊
这期没人,取消啦
好漂亮的姑娘!
+1
No space left on device
@hooopo 没挂呢!
我最好的状态是几年前,两天内连续面试 3 家,3 家都通过,然后就为难了,我该去哪儿呢...
顶
恭喜
以下几种方式:
楼下来补充