开发者

Rails 3 problem with second, third ActiveRecord methods

Last week this worked but now, for开发者_JS百科 some reason I can only use Model.first. Model.second and Model.third, etc no longer work.

Did something change in Rails? I keep getting a NoMethodError.


Model.second never worked, I don't think. second and third work on arrays, however. Maybe you used something along the lines of User.all.third the first time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜