Sha256: 9b89eb0eb148e43faa3de68f4714f46062c234922d4a9f186de57440eb65aa3f

Contents?: true

Size: 1.37 KB

Versions: 29

Compression:

Stored size: 1.37 KB

Contents

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

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)

module HelpersIncludeAllOffSystemSpec
  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

    # Rails 3.0.x doesn't support config.action_controller.include_all_helpers=; as a result, we skip that call in
    # config/application.rb, and use "clear_helpers; helper :application" in the actual
    # HelpersIncludeAllOffSystemSpecController to simulate that behavior.
    config.action_controller.include_all_helpers = false if config.action_controller.respond_to?(:include_all_helpers=)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.6 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.5-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.5 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.4-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.4 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.3-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.3 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.2-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.2 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.1-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.1 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.0-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.9.0 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.10-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.10 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.9-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.9 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.7-java spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb
fortitude-0.0.7 spec/rails/templates/helpers_include_all_off_system_spec/config/application.rb