Sha256: c9a2d8f5def62924d961eaa38e60432a6767ac836678b7e5a69eb555d808c33d

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

require_relative 'boot'

# require 'rails/all'
require "active_record/railtie"
require "action_controller/railtie"
require "action_view/railtie"
require "action_mailer/railtie"
require "active_job/railtie"
require "action_cable/engine"
require "rails/test_unit/railtie"
require "sprockets/railtie"
# require "active_storage"

Bundler.require(*Rails.groups)
require "whodat"

module Dummy
  class Application < Rails::Application
    # Initialize configuration defaults for originally generated Rails version.
    # config.load_defaults 5.2

    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration can go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded after loading
    # the framework and any gems in your application.

     # Do not swallow errors in after_commit/after_rollback callbacks.
     # config.active_record.raise_in_transactional_callbacks = true

     # to convert boolean to integer for sqlite3 per error message
     Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whodat-1.0.1 spec/dummy/config/application.rb
whodat-1.0.0 spec/dummy/config/application.rb