mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
@@ -40,7 +40,7 @@ module ActiveRecord
|
||||
def header(stream)
|
||||
define_params = @version ? ":version => #{@version}" : ""
|
||||
|
||||
if stream.respond_to?(:external_encoding)
|
||||
if stream.respond_to?(:external_encoding) && stream.external_encoding
|
||||
stream.puts "# encoding: #{stream.external_encoding.name}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user