practice ROR application, code copied from tutorial.