This repository was archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 149
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
no implicit conversion of nil into String (TypeError) #290
Copy link
Copy link
Closed
Description
I'm getting a lot of this errors sin updating to moped2/mongoid4:
no implicit conversion of nil into String (TypeError)
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/tcp.rb:20:in `initialize'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/tcp.rb:20:in `block in initialize'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/connectable.rb:119:in `handle_socket_errors'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/tcp.rb:20:in `initialize'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/connectable.rb:145:in `new'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/connectable.rb:145:in `block in connect'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/timeout.rb:82:in `block in timeout'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/timeout.rb:70:in `catch'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/timeout.rb:70:in `timeout'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection/socket/connectable.rb:144:in `connect'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/connection.rb:52:in `connect'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:531:in `connect'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:179:in `block in ensure_connected'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:115:in `block in connection'
vendor/bundle/ruby/2.1.0/gems/connection_pool-2.0.0/lib/connection_pool.rb:58:in `with'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:114:in `connection'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:177:in `ensure_connected'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:589:in `block in flush'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:617:in `block in logging'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/notifications.rb:159:in `block in instrument'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.2/lib/active_support/notifications.rb:159:in `instrument'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/instrumentable.rb:31:in `instrument'
vendor/bundle/ruby/2.1.0/gems/moped-2.0.0/lib/moped/node.rb:616:in `logging
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels