Sha256: fcaa85e420421b20895ea44dde01066a421de9214a092f8ad199b2ea10398912

Contents?: true

Size: 1.53 KB

Versions: 7

Compression:

Stored size: 1.53 KB

Contents

# frozen_string_literal: true

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

# Pick the frameworks you want:
require 'active_record/railtie'
require 'action_controller/railtie'
# require 'action_mailer/railtie'
require 'action_view/railtie'
require 'sprockets/railtie'

Bundler.require(*Rails.groups)
require 'paid_up'

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

    config.generators do |g|
      g.hidden_namespaces << 'test_unit' << 'erb'
      g.orm             :active_record
      g.template_engine :haml
      g.test_framework  :rspec, fixture: false
      g.integration_tool :rspec
      g.stylesheets     false
      g.javascripts     false
      g.view_specs      false
      g.helper_specs    false
    end
  end
end

Rails
  .application
  .config
  .active_record
  .sqlite3
  .represent_boolean_as_integer = true

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paid_up-0.13.10 spec/dummy/config/application.rb
paid_up-0.13.9 spec/dummy/config/application.rb
paid_up-0.13.8 spec/dummy/config/application.rb
paid_up-0.13.7 spec/dummy/config/application.rb
paid_up-0.13.6 spec/dummy/config/application.rb
paid_up-0.13.5 spec/dummy/config/application.rb
paid_up-0.13.4 spec/dummy/config/application.rb