Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method send_message_with_safe_check' for class Mongo::Connection #2

Closed
luizkowalski opened this issue Mar 14, 2013 · 5 comments

Comments

@luizkowalski
Copy link

I just added glimpse and glimpse-mongo to my Gemfile, and when I started the app, I got this

NameError: undefined method `send_message_with_safe_check' for class `Mongo::Connection'
~/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method'
~/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'

I saw an issue like this closed, but I guess mongo changed some names again

@dewski
Copy link
Member

dewski commented Mar 14, 2013

What version of the mongo gem are you using?

I just pushed a new version of glimpse-mongo that requires mongo >= 1.8, try that out and that should fix your issue.

@luizkowalski
Copy link
Author

i'm using mongo 1.8.3
now it's working :P but only show this

... / ... mongo

is there any configuration missing?

@dewski
Copy link
Member

dewski commented Mar 15, 2013

@luizkowalski do you have the results partial at the end of your application layout?

<html>
  <head>
    <title>Application</title>
  </head>
  <body>
    <%= render 'glimpse/bar' %>
    <%= yield %>
    <%= render 'glimpse/results' %>
  </body>
</html>

@dewski dewski closed this as completed Mar 15, 2013
@luizkowalski
Copy link
Author

yep

@dewski
Copy link
Member

dewski commented Mar 15, 2013

Do you have the required JS/CSS included in your application file? If it's still not working please open an issue on dewski/glimpse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants