Can you send a case where you're calling it and it's giving you that
error?
David
--
Rails training from David A. Black and Ruby Power and Light:
INTRO TO RAILS June 9-12 Berlin
ADVANCING WITH RAILS June 16-19 Berlin
INTRO TO RAILS June 24-27 London (Skills Matter)
See http://www.rubypal.com for details and updates!
You should get a LocalJumpError with this code in Ruby, too. Remove the
".each" and it should be ok.
--
Posted via http://www.ruby-forum.com/.