spec/rails_app/config/application.rb in audited-4.10.0 vs spec/rails_app/config/application.rb in audited-5.0.0

- old
+ new

@@ -1,13 +1,13 @@ -require 'rails/all' +require "active_record/railtie" module RailsApp class Application < Rails::Application - config.root = File.expand_path('../../', __FILE__) + config.root = File.expand_path("../../", __FILE__) config.i18n.enforce_available_locales = true end end -require 'active_record/connection_adapters/sqlite3_adapter' +require "active_record/connection_adapters/sqlite3_adapter" if ActiveRecord::ConnectionAdapters::SQLite3Adapter.respond_to?(:represent_boolean_as_integer) ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer = true end