阅读背景:

如何保持ActiveRecord关联DRY?

来源:互联网 

I have an issue with trying to keep AR finders DRY in my application. I have created a blogging application which fetches all the related pages,posts,links,tags and categories for a blog when a user first views it. A sample show action for the Blog controller is shown below:I have an issue with trying to keep AR finders




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

分享到: