Adding rails application