making rails application from scratch