Hi -- On Thu, 16 Oct 2008, David Trasbo wrote: > David Trasbo wrote: > >> syntax error, unexpected tIDENTIFIER, expecting kEND > > Then I tried this: > > m << (yield f) > > But that is giving me this error: > > can't convert nil into String > > That doesn't really make sence, does it? Actually it does, because your block contains a call to puts, and puts always returns nil. You probably want your block just to contain a string. David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails January 12-15 Fort Lauderdale, FL Advancing with Rails January 19-22 Fort Lauderdale, FL * * Co-taught with Patrick Ewing! See http://www.rubypal.com for details and updates!