阅读背景:

在Ruby / Rails中循环遍历数组

来源:互联网 

As I'm pretty much a beginner with Rails I wanted to know how best to loop through an array and modify some values. The array is being rendered to a view where the jQuery will receive the data and display it. I want to do the hard work in the Controller (or I might switch to the model at a later date).As I'm pretty much a beginner with Rails I want




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

分享到: