Sha256: 9b234e1f2f0fa55fec1784086c05cab73b9bbf10ecb8aa17cce7be35005f8edb

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 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.enabled = false
    #
    #     # 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

3 entries across 3 versions & 1 rubygems

Version Path
parallel_minion-0.2.1 lib/parallel_minion/railtie.rb
parallel_minion-0.2.0 lib/parallel_minion/railtie.rb
parallel_minion-0.1.0 lib/parallel_minion/railtie.rb