Thanks for verifying that Philip. Guess I'll try and dive into the code and figure out how to fix it this weekend.
If anybody has any tips or ideas, let me know. On Jan 28, 12:03 pm, Philip Hallstrom <[email protected]> wrote: > On Jan 27, 2011, at 8:28 PM, bob wrote: > > > It seems to me like you ought to be able to call .to_yaml on a > > activerecord object and then use YAML.load to reconstitute it. > > > I'm trying to figure out if something is wrong with my ruby / rails > > installation or if this is something that everyone experiences. > > > Can anyone else verify that after creating a simple new rails project > > and model, an instance of the model cannot make a round trip to_yaml > > and back? > > Confirmed. Rails 3.0.3. Same error you get. > > > > > > > > > > > On Jan 27, 9:11 pm, Marnen Laibow-Koser <[email protected]> wrote: > >> Frederick Cheung wrote in post #978021: > >> [...] > > >>> I seem to recall that > >>> historically, although method_missing etc was overriden to add dynamic > >>> methods, respond_to wasn't, which didn't make AR a very good citizen, > >>> which may be why this works with projects using old versions of rails > > >> How is that possible? respond_to? shouldn't need to be overridden to > >> take method_missing into account, should it? > > >>> Fred > > >> Best, > >> -- > >> Marnen Laibow-Koserhttp://www.marnen.org > >> [email protected] > > >> Sent from my iPhone > > >> -- > >> Posted viahttp://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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

