Tutorial for rails application