Sha256: c70715ec7cdb4a511b8c1a190cec46000f99e8905a466cc997b66b07b164782d

Contents?: true

Size: 787 Bytes

Versions: 2

Compression:

Stored size: 787 Bytes

Contents

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

# Pick the frameworks you want:
if ENV['AN_ORM'] == 'mongoid'
  require 'mongoid'
  require 'rails'
  if Rails.env != 'test'
    Mongoid.load!(File.expand_path("config/mongoid.yml"), :development)
  end
end
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 "activity_notification"

module Dummy
  class Application < Rails::Application
    # Do not swallow errors in after_commit/after_rollback callbacks.
    if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
      config.active_record.raise_in_transactional_callbacks = true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activity_notification-1.4.0 spec/rails_app/config/application.rb
activity_notification-1.3.0 spec/rails_app/config/application.rb