Skip to content

Commit

Permalink
fixed CsvResponder
Browse files Browse the repository at this point in the history
  • Loading branch information
diogob committed Sep 9, 2013
1 parent bfcf4d5 commit 31df363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postgres-copy/csv_responder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Responders
module CsvResponder
def to_csv
controller.response_body = Enumerator.new do |y|
controller.send(:end_of_association_chain).pg_copy_to do |line|
controller.send(:end_of_association_chain).copy_to do |line|
y << line
end
end
Expand Down

0 comments on commit 31df363

Please sign in to comment.