Skip to content

Commit c0afe55

Browse files
rmehnerflash-gordon
authored andcommitted
Fix typo in streaming docs for Advanced PG Support
1 parent 3a7e52f commit c0afe55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docsite/source/advanced-pg-support.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class SomeHTTPController
5353
def call(*)
5454
# Stream the CSV to avoid keeping the entire dataset in memory
5555
self.body = Enumerator.new do |yielder|
56-
posts.steam_each { |p| yielder << CSV.generate_line([p.id, p.title, p.body]) }
56+
posts.stream_each { |p| yielder << CSV.generate_line([p.id, p.title, p.body]) }
5757
end
5858

5959
self.status = 200

0 commit comments

Comments
 (0)