开发者

rails smart collection

开发者 https://www.devze.com 2023-01-01 22:42 出处:网络
What are rails smart collectio开发者_Go百科ns? If I am trying to build a view that presents most popular articles, top 10 products, recent comments (i.e a snapshot of recent updates to a variety of m

What are rails smart collectio开发者_Go百科ns?

If I am trying to build a view that presents most popular articles, top 10 products, recent comments (i.e a snapshot of recent updates to a variety of models in one view), would I be using a smart collection?

Would I be updating it via something like delayed job? Use some sort of fragment caching?

What's the best way of doing this?

Thanks


I've never heard of 'smart collections'. That reference to them in the delayed_jobs docs seems to be the only one out there. It would probably be better to email the author, he might have been referring to something that exists only in his head :)

0

精彩评论

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