阅读背景:

rails视图中有多少代码可以吗?

来源:互联网 

I know that it is best to keep code out of the presentation layer. But, I am wondering how much is considered "acceptable". For example I populate an html select box with this line of code. I know that it is best to keep code out of the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: