code generated from rails new blog