Whatever you call it, this rule is a valid one, and it has been a guideline through - out the ongoing development of the Ruby language.
无论你怎么称呼它,这条规则很有效,并且成为了整个Ruby语言的开发的指导原则。
The helper file is empty: it's a place where you can put Ruby methods that you write and that you want to call from your view templates.
Helper文件里面什么也没有:你可以在里面放入自己写的Ruby方法,并可以从视图模板中调用这些方法。
In JRuby 1.5 and earlier, all Ruby calls populated a thread-local data structure on every call.
在JRuby 1.5和更早的版本中,所有的Ruby调用都会在调用时占据一个thread - local数据结构。
应用推荐