diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-14 18:06:01 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:32 -0500 |
commit | f59b08119bc0c01a00561d38279b124abc82561b (patch) | |
tree | c9021170a05d15fcd067346c9ab2cb31b00232ca /railties/lib | |
parent | 0bef23e630f62e38f20b5ae1d1d5dbfb087050ea (diff) | |
download | rails-f59b08119bc0c01a00561d38279b124abc82561b.tar.gz rails-f59b08119bc0c01a00561d38279b124abc82561b.tar.bz2 rails-f59b08119bc0c01a00561d38279b124abc82561b.zip |
Change `SQLite3Adapter` to always represent boolean values as integers
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index c2403c57a7..bc2183d75b 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -97,10 +97,6 @@ module Rails if respond_to?(:active_record) active_record.cache_versioning = true - # Remove the temporary load hook from SQLite3Adapter when this is removed - ActiveSupport.on_load(:active_record_sqlite3adapter) do - ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer = true - end end if respond_to?(:action_dispatch) |