demo application from ROR tutorial