fixes #2
(referenced fix in
http://asciicasts.com/episodes/216-generators-in-rails-3)