From: Blake Miller Date: 2006-12-02T07:02:54+09:00 Subject: Re: Simple iteration in a function problem > I wish I could help. I can't spot anything that would cause @obj to > be nil, and when I try a standalone version of your code (essentially > what you've got minus the ERB markup), it runs fine. > > Is it possible you've got symbols in one place (maybe when you create > the components) and strings in another? > > > David David, thanks for the help. I did create a test.rb file and the code worked, as you said, as it should, so there must be something else in the code that is changing the ids. I think it's time to start commenting the heck out of everything till I find out where it is. I'll keep looking and post the solution when I find it (hopefully soon!). Thanks. -- Posted via http://www.ruby-forum.com/.