Sha256: 16cbee6a7474867d8a9956c436d09a093c713a5e8135b112e82e305e94a34499

Contents?: true

Size: 616 Bytes

Versions: 6

Compression:

Stored size: 616 Bytes

Contents

# frozen_string_literal: true

require File.expand_path('boot', __dir__)

require 'rails/all'

Bundler.require(*Rails.groups)

file = File.join(__dir__, 'application_before.rb')
require file if File.exist?(file)

module Dummy
  class Application < Rails::Application
    config.active_record.raise_in_transactional_callbacks = true if ::Rails.version < '5'
    config.active_record.sqlite3.represent_boolean_as_integer = true if ::Rails.version < '6'

    config.action_mailer.default_url_options = { host: 'dummyhost' }
  end
end

file = File.join(__dir__, 'application_after.rb')
require file if File.exist?(file)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
eac_rails_gem_support-0.10.1 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb
eac_rails_gem_support-0.10.0 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb
eac_rails_gem_support-0.9.2 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb
eac_rails_gem_support-0.9.1 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb
eac_rails_gem_support-0.9.0 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb
eac_rails_gem_support-0.8.0 template/eac_rails_gem_support/rspec/appendable_rails_app/config/application.rb