YAML is part of Ruby. Check out http://www.ruby-doc.org/core/ for
YAML class readme.
rick
On Jul 16, 11:01 pm, Nadal
<node.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I am looking at rails edge source code.
>
> I am able to do
>
> puts User.find.to_yaml
>
> However I am not able to find piece of code where ''def
to_yaml'' is.
> How this to_yaml serialization is working?
>
> can fully understand how to_json and to_xml is working but to_yaml
> beats me.
>
> Thanks
--
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@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.