Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Oct 23, 2022
1 parent 971fa17 commit 5b06804
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activerecord/lib/active_record/schema_dumper.rb
Expand Up @@ -181,8 +181,7 @@ def table(table, stream)
tbl.puts " end"
tbl.puts

tbl.rewind
stream.print tbl.read
stream.print tbl.string
rescue => e
stream.puts "# Could not dump table #{table.inspect} because of following #{e.class}"
stream.puts "# #{e.message}"
Expand Down

0 comments on commit 5b06804

Please sign in to comment.