A Single file Rails Application (greg.molnar.io)

Using single file applications to demonstrate core ideas or reproduce edge case bugs is an invaluable tool. Greg provided a nice little write-up about how to do it.