simple_worker 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/railtie.rb +1 -1
- metadata +2 -2
data/lib/railtie.rb
CHANGED
@@ -14,7 +14,7 @@ module SimpleWorker
|
|
14
14
|
path = File.join(Rails.root, 'app/models/*.rb')
|
15
15
|
puts 'path=' + path
|
16
16
|
c2.models = Dir.glob(path)
|
17
|
-
|
17
|
+
c2.extra_requires += ['active_support/core_ext', 'active_record', 'action_mailer']
|
18
18
|
puts 'config.models=' + c2.models.inspect
|
19
19
|
end
|
20
20
|
|