The 1st parameter is %1, the 2nd is %2 and the 3nd %3
其中%1, %2, %3作为参数传入的
类似java里面的{1}的功能是不是有的?
- 浏览: 19758 次
- 性别:

- 来自: Mars

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
Share methods in Control ...
这个,我就尽量不用,或者找模型来代理,尽量让controller变得简单,至少m ...
-- by lgn21st -
Share methods in Control ...
原则上,helper产生的返回值都是<div>....</div>这 ...
-- by 7thbyte -
Share methods in Control ...
helper是为template准备的,在controller中调用helper ...
-- by zeroleonhart -
Share methods in Control ...
在RoR2.0的class ApplicationController里有一句 ...
-- by baryon -
RXML
xu_wccq 写道发现个好方法先把xml转人为Hash表(from_xml(p ...
-- by xu_wccq






评论排行榜