From: Phillip Gawlowski Date: 2008-05-22T03:48:00+09:00 Subject: Re: to_yaml method for array -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Raj Singh wrote: | However no where in ActiveSupport I can find where Rails is implementing | the method to_yaml. | | I go to http://www.ruby-doc.org/core/ and look for Array methods. I see | to_yaml. So why in the irb I am getting undefined method to_yaml? require 'yaml' This adds the desired functionality. Alas, the RDoc generated (currently) includes functions in Core lib that are *actually* part of STDLIB. - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan Blog: http://justarubyist.blogspot.com A born loser: ~ Somebody who calls the number that's scrawled in lipstick on the phone ~ booth wall-- and his wife answers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg0bmwACgkQbtAgaoJTgL8EFwCeLjb0NO34MOgJFKTX/GGElor8 /vMAoJq1lX5r1S6gxjvNQsw1szZzSTKJ =QPb9 -----END PGP SIGNATURE-----