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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to