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.4.3 lib/iron_worker/rails2_init.rb
iron_worker-2.4.2 lib/iron_worker/rails2_init.rb
iron_worker-2.4.1 lib/iron_worker/rails2_init.rb
iron_worker-2.4.0 lib/iron_worker/rails2_init.rb
iron_worker-2.3.17 lib/iron_worker/rails2_init.rb
iron_worker-2.3.16 lib/iron_worker/rails2_init.rb
iron_worker-2.3.15 lib/iron_worker/rails2_init.rb
iron_worker-2.3.14 lib/iron_worker/rails2_init.rb
iron_worker-2.3.13 lib/iron_worker/rails2_init.rb
iron_worker-2.3.12 lib/iron_worker/rails2_init.rb
iron_worker-2.3.11 lib/iron_worker/rails2_init.rb
iron_worker-2.3.10 lib/iron_worker/rails2_init.rb
iron_worker-2.3.9 lib/iron_worker/rails2_init.rb
iron_worker-2.3.8 lib/iron_worker/rails2_init.rb
iron_worker-2.3.7 lib/iron_worker/rails2_init.rb
iron_worker-2.3.6 lib/iron_worker/rails2_init.rb
iron_worker-2.3.5 lib/iron_worker/rails2_init.rb
iron_worker-2.3.4 lib/iron_worker/rails2_init.rb
iron_worker-2.3.3 lib/iron_worker/rails2_init.rb
iron_worker-2.3.2 lib/iron_worker/rails2_init.rb