2015-02-08 50 views

回答

0

使用where如果要過濾未分組記錄:

published = Activity.where('podcasts.draft = false').eager_load([:podcast, :blog, :chat]) 
相關問題