On Mon, Sep 22, 2008 at 9:44 AM, Jim Gecko <[EMAIL PROTECTED] > wrote:
> > I'm new to Ruby on Rails and came across a problem I could not solve > alone. > I've a pretty simple RJS file that looks like the following: > > 3.times do > page.insert_html :bottom, 'messages', 'test' > end > page.call 'updateMessageWindow' Hi, you forgot the block local variable. Thus, the above should have been developed as follows: 3.times do |page| page.insert_html :bottom, 'messages', 'test' end page.call 'updateMessageWindow' Good luck, -Conrad --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

