Sha256: ec14c1fea057c2e583c052a601c2e8a46bfdb7bd43db4018576a876436122cad

Contents?: true

Size: 650 Bytes

Versions: 1

Compression:

Stored size: 650 Bytes

Contents

module ParallelMinion #:nodoc:
  class Railtie < Rails::Railtie #:nodoc:
    #
    # Make the ParallelMinion config available in the Rails application config
    #
    # Example: Make debugging easier
    #    in file config/environments/development.rb
    #
    #   Rails::Application.configure do
    #
    #     # Run Minions in the current thread to make debugging easier
    #     config.parallel_minion.synchronous = true
    #
    #     # Add a model so that its current scope is copied to the Minion
    #     config.parallel_minion.scoped_classes << MyScopedModel
    #   end
    config.parallel_minion = ::ParallelMinion::Minion

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parallel_minion-0.0.1 lib/parallel_minion/railtie.rb