Sha256: fd88fb43985545c8f521f98ae32ce099fde1f427aa186243c9ee2b30f8a21997
Contents?: true
Size: 1.26 KB
Versions: 19
Compression:
Stored size: 1.26 KB
Contents
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require(*Rails.groups) require "poly_belongs_to" module Dummy class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de # Do not swallow errors in after_commit/after_rollback callbacks. if Rails.version =~ /^(?:(?:4\.[2-9])|[5-9])/ config.active_record.raise_in_transactional_callbacks = true end end end DummyApp = begin if ::Rails.version.to_s =~ /^(?:(?:4\.[2-9])|[5-9])/ Rails.application else Dummy::Application end end
Version data entries
19 entries across 19 versions & 1 rubygems