Sha256: d1a69c432c6011ba939d4463d212eb838e474cef2dee34f4552ec442ca221b03

Contents?: true

Size: 448 Bytes

Versions: 5

Compression:

Stored size: 448 Bytes

Contents

begin
  require 'rails/railtie'
  class Tork::Railtie < Rails::Railtie
    config.before_initialize do |app|
      app.config.cache_classes = false
      ActiveSupport::Dependencies.mechanism = :load
    end
  end
rescue LoadError => error
  warn "tork/config/rails/master: could not set configuration using railties;\n"\
       "you will have to add the following to your test environment manually:\n\t"\
       'config.cache_classes = false'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tork-19.3.2 lib/tork/config/rails/master.rb
tork-19.3.1 lib/tork/config/rails/master.rb
tork-19.3.0 lib/tork/config/rails/master.rb
tork-19.2.2 lib/tork/config/rails/master.rb
tork-19.2.1 lib/tork/config/rails/master.rb