diff --git a/lib/ditty/controllers/component.rb b/lib/ditty/controllers/component.rb
index <HASH>..<HASH> 100644
--- a/lib/ditty/controllers/component.rb
+++ b/lib/ditty/controllers/component.rb
@@ -29,7 +29,7 @@ module Ditty
         format.json do
           # TODO: Add links defined by actions (New #{heading})
           json(
-            'items' => list.map(&:for_json),
+            'items' => list.all.map(&:for_json),
             'page' => params[:page],
             'count' => list.count,
             'total' => dataset.count
fix: Use all, instead of map, because can't run new query within connection. See Dataset#each