Sha256: b9e1e2f07c85b479d2f6796f243a8024fde05ec8c3465836da8766b736908808
Contents?: true
Size: 880 Bytes
Versions: 6
Compression:
Stored size: 880 Bytes
Contents
require "active_record/railtie" module RailsApp class Application < Rails::Application config.root = File.expand_path("../../", __FILE__) config.i18n.enforce_available_locales = true if !Rails.version.start_with?("5.0") && !Rails.version.start_with?("5.1") && config.active_record.respond_to?(:yaml_column_permitted_classes=) config.active_record.yaml_column_permitted_classes = %w[String Symbol Integer NilClass Float Time Date FalseClass Hash Array DateTime TrueClass BigDecimal ActiveSupport::TimeWithZone ActiveSupport::TimeZone ActiveSupport::HashWithIndifferentAccess] end end end 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
Version data entries
6 entries across 6 versions & 1 rubygems