阅读背景:

Ruby错误:使用范围的类

来源:互联网 

Using rails 3.1, ruby 1.92. I have a bunch of products in a store: movies, music, and books. I have three scopes in my products controller, all called the same (movies, music, and books). The point of our assignment is to have the index of the product controller show all items on load of the site. No problem. We then have to link_to books, music, or movies, and have the appropriate products shown. Also done.Using rails 3.1, ruby 1.92. I have a bunch of p




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

分享到: