awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

Fixed incompatibility with mongoid4 #153

Closed fbernier closed 9 years ago

fbernier commented 10 years ago

As discussed here: https://github.com/michaeldv/awesome_print/issues/133#issuecomment-36378132

guiceolin commented 10 years ago

@michaeldv any chances to get this merged?

zolzaya commented 10 years ago

+1

silentshade commented 10 years ago

+1

chrisb commented 10 years ago

+1

nathanpalmer commented 10 years ago

+1

pabloq commented 10 years ago

+1

murtza commented 9 years ago

+1

imajes commented 9 years ago

Hey @fbernier - does this fix ap's compatibiltiy with mongoid such that all the related specs pass?

fbernier commented 9 years ago

I am sorry I have opened this pull request long ago and I don't remember exactly what the problem was as I stopped encountering it, probably because I stopped using some particular gem which depended on this.

I guess some of the last +1's on this thread might chime in to answer your question.

From what I remember, I had this problem only in the rails console and had to use something like

Moped::BSON = BSON

to fix it.

imajes commented 9 years ago

Yeah, this is a simple fix. Merged.