rails app of lecture 3