Sha256: 1bea73e38635b7ecd4460fcf31104787a92b926af1940a750b62da5f166f46a2

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

#puts "Initializing list of Rails models..."
SimpleWorker.configure do |config|
  path = File.join(Rails.root, 'app/models/*.rb')
#  puts 'path=' + path
  config.models = Dir.glob(path)
  config.extra_requires += ['active_support/core_ext', 'active_record', 'action_mailer']
#  puts 'config.models=' + config.models.inspect
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_worker-0.4.1 lib/rails2_init.rb
simple_worker-0.4.0 lib/rails2_init.rb
simple_worker-0.3.24 lib/rails2_init.rb
simple_worker-0.3.23 lib/rails2_init.rb
simple_worker-0.3.22 lib/rails2_init.rb