Skip to content

Instantly share code, notes, and snippets.

@ShadowBelmolve
Created February 9, 2011 21:11
Show Gist options
  • Save ShadowBelmolve/819288 to your computer and use it in GitHub Desktop.
Save ShadowBelmolve/819288 to your computer and use it in GitHub Desktop.
Today I've updated my gems and got this error with ActiveRecord::Base#to_json
>> User.all.to_json
=> "[\"#<User:0x6a9eb00>\",\"#<User:0x6a9ea60>\",\"#<User:0x6a9e9c0>\",\"#<User:0x6a9e920>\"]" #this isn't what I want
I think the problems is json_pure :/ but I can't remove it from project(some gems depend on it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment