Check http://www.rubyquiz.com/
Also, check various code snippets at : http://snipplr.com/all/tags/rails/
http://snippets.dzone.com/tag/rails