-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 6.0.0
-
Component/s: None
-
None
A month ago, I was able to do:
Agent.with(database: database_name).all.each do |a|
Now it is saying:
timeline(dev)> Agent.with(database: "somename").all
LocalJumpError: no block given (yield)
from /usr/local/lib/ruby/gems/2.3.0/bundler/gems/mongoid-4079e2856143/lib/mongoid/clients/options.rb:97:in `with'
Any ideas?