Sha256: 70ad6c712bf83d7afb1356e65c24e4ec9070e33798c56bac52dc0fe508312b31

Contents?: true

Size: 326 Bytes

Versions: 25

Compression:

Stored size: 326 Bytes

Contents

#puts "Initializing list of Rails models..."
IronWorker.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

25 entries across 25 versions & 1 rubygems

Version Path
iron_worker-2.3.1 lib/iron_worker/rails2_init.rb
iron_worker-2.3.0 lib/iron_worker/rails2_init.rb
iron_worker-2.2.0 lib/iron_worker/rails2_init.rb
iron_worker-2.1.1 lib/iron_worker/rails2_init.rb
iron_worker-2.1.0 lib/iron_worker/rails2_init.rb