Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
6.0.0, 7.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
-
None
Description
Public .client_name delegates call to persistence_context.client_name which is private in its turn:
class Band |
include Mongoid::Document
|
end
|
|
Band.client_name
|
The above raises exception:
NoMethodError: private method `client_name' called for #<Mongoid::PersistenceContext:0x000055b495f8ce98> |
Did you mean? client
|
from /home/ixti/.gem/ruby/2.5.7/gems/mongoid-6.1.1/lib/mongoid/clients/options.rb:61:in `client_name' |