lib/parallel_minion/railtie.rb in parallel_minion-0.2.1 vs lib/parallel_minion/railtie.rb in parallel_minion-0.3.0
- old
+ new
@@ -10,10 +10,13 @@
#
# # 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
+ # config.after_initialize do
+ # # Perform in an after_initialize so that the model has been loaded
+ # config.parallel_minion.scoped_classes << MyScopedModel
+ # end
# end
config.parallel_minion = ::ParallelMinion::Minion
end
end