Sha256: 82255efd647461b6318dc04edda52822aa1a413e20528627765b965ed349a533

Contents?: true

Size: 1.6 KB

Versions: 25

Compression:

Stored size: 1.6 KB

Contents

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"
# require "rails/test_unit/railtie"

Bundler.require(*Rails.groups)
require "message_train"

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.
    config.active_record.raise_in_transactional_callbacks = true

    config.generators do |g|
      g.orm             :active_record
      g.template_engine :haml
      g.test_framework  :rspec, fixture: false
      g.stylesheets     false
      g.javascripts     false
    end

    config.time_zone = 'America/Denver'
    config.active_record.default_timezone = :local
  end
end

FactoryGirl.definition_file_paths << MessageTrain::Engine.root.join('spec/factories')
FactoryGirl.reload

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
message_train-0.5.2 spec/dummy/config/application.rb
message_train-0.5.1 spec/dummy/config/application.rb
message_train-0.5.0 spec/dummy/config/application.rb
message_train-0.4.6 spec/dummy/config/application.rb
message_train-0.4.5 spec/dummy/config/application.rb
message_train-0.4.4 spec/dummy/config/application.rb
message_train-0.4.3 spec/dummy/config/application.rb
message_train-0.4.2 spec/dummy/config/application.rb
message_train-0.4.1 spec/dummy/config/application.rb
message_train-0.4.0 spec/dummy/config/application.rb
message_train-0.3.1 spec/dummy/config/application.rb
message_train-0.3.0 spec/dummy/config/application.rb
message_train-0.2.12 spec/dummy/config/application.rb
message_train-0.2.11 spec/dummy/config/application.rb
message_train-0.2.10 spec/dummy/config/application.rb
message_train-0.2.9 spec/dummy/config/application.rb
message_train-0.2.8 spec/dummy/config/application.rb
message_train-0.2.7 spec/dummy/config/application.rb
message_train-0.2.6 spec/dummy/config/application.rb
message_train-0.2.5 spec/dummy/config/application.rb