require File.expand_path('../boot', __FILE__)

require "active_model/railtie"
require "active_job/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"

module RailsApp
  class Application < Rails::Application
    config.eager_load = true
    config.root = File.expand_path('../../.', __FILE__)
    config.consider_all_requests_local = true
    config.active_record.sqlite3.represent_boolean_as_integer = true if config.active_record.sqlite3
  end
end

require File.expand_path('../boot', __FILE__)

require "active_model/railtie"
require "active_job/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"

module RailsApp
  class Application < Rails::Application
    config.eager_load = true
    config.root = File.expand_path('../../.', __FILE__)
    config.consider_all_requests_local = true
  end
end

Remove active_record configuration from Mongoid
Remove active_record configuration from Mongoid
