Greg Hazel wrote:> I''m interested in a JSONgem version of encode as well. I ran in to
this
> issue:
>
>
https://rails.lighthouseapp.com/projects/8994/tickets/3345-to_json-does-not-escape-unicode-characters
>
> which was only recently fixed. I would rather use the json gem than wait
> for Rails to find all the bugs and improve the speed of the home-grown
> json implementation.
>
> Any help?
I circumvented the Rails hack by making a hack of my own.
http://gist.github.com/461938
Hopefully, the Rails core team does not create more hacks of this
nature. Better yet, the hack should be removed. I want to choose which
version of to_json I use (instead of some Rails core dude).
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.