I really have no idea what’s going on with this.
Try using breakpoint to inspect @foo
can tell you lots.
As a general “why doesn’t my blah work” response have a look at your
code running using breakpoint. I’m guessing from the noise on the list
that breakpoint would be the most underutilized tool in Rails.