YAML fails when has_one is null

My model has_one :association

If I call model.to_yaml (or y model) in the console, and the
association is nil, I get a yaml error. Anyone else get this? Is
this a confirmed bug?

On 5/28/07, S. Robert J. [email protected] wrote:

My model has_one :association

If I call model.to_yaml (or y model) in the console, and the
association is nil, I get a yaml error. Anyone else get this? Is
this a confirmed bug?

Yes, looks like a known problem:

http://dev.rubyonrails.org/ticket/8016

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs