derailed/mongo3

Not all value types display correcty

ctrochalakis opened this issue · 3 comments

When showing collection documents the values are printed using the default #to_s method. When the values are arrays or hashes the output is unreadable.

Here is a quick fix for it using #inspect
http://github.com/ctrochalakis/mongo3/tree/pretty_values

Hi Christos,

Did you update to 0.0.9 ? I had made a small change yesterday to better display hash and arrays... Still work in progress though and not ideal quiet yet....

Thanks!
Fernand

Hi Fernand,

For some reason I didn't noticed your changes... Works great, thanks :)

No worries ! Thanks for looking at it Christos.