diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-05-12 05:42:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-05-12 05:43:08 +0900 |
commit | 2a71885a3f88562c57f81230d31518e5189c0dda (patch) | |
tree | 149842980384d1a83b4da5d273deef989bbe45fe /activerecord/lib | |
parent | 537a342a8307ebe1d5e69a7e81495f137ae571a4 (diff) | |
download | rails-2a71885a3f88562c57f81230d31518e5189c0dda.tar.gz rails-2a71885a3f88562c57f81230d31518e5189c0dda.tar.bz2 rails-2a71885a3f88562c57f81230d31518e5189c0dda.zip |
Remove magic comment in generated `schema.rb`
Rails 5.0 has been dropped Ruby 1.9 support.
I think no need magic comment anymore.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/schema_dumper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index 301718b874..d769376d1a 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -50,10 +50,6 @@ module ActiveRecord def header(stream) define_params = @version ? "version: #{@version}" : "" - if stream.respond_to?(:external_encoding) && stream.external_encoding - stream.puts "# encoding: #{stream.external_encoding.name}" - end - stream.puts <<HEADER # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to |