Didactically Bad Code
This is code so bad that it can be used for teaching/refactoring examples/etc.
Have fun
Ruby:
http://github.com/kytrinyx/csi-ruby
http://github.com/rking/trivia