Tutorial application in Rails