learning rails by building this application