derailed / mongo3

Rule your mongoDB clusters!
http:///mongo3.com
443 stars 65 forks source link

Not all value types display correcty #2

Closed ctrochalakis closed 14 years ago

ctrochalakis commented 14 years ago

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

derailed commented 14 years ago

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

ctrochalakis commented 14 years ago

Hi Fernand,

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

derailed commented 14 years ago

No worries ! Thanks for looking at it Christos.