https://rps-rcav-[YOUR CLOUD 9 USERNAME].c9users.io/rock
https://rps-rcav-[YOUR CLOUD 9 USERNAME].c9users.io/paper
https://rps-rcav-[YOUR CLOUD 9 USERNAME].c9users.io/scissors
rails new my_fancy_appcommand at a Terminal prompt (you can try it now if you want, but it will create a whole subfolder with an entire app inside).
/scissors, one at a time. For each one,
<head>of all of our view templates in the file
app/views/layouts/application.html.erb, which is a wrapper or "layout" that surrounds every view template that we send to our users.
application.html.erbfile that we got out-of-the-box when we generated the new application, you'll see that it includes all of the usual HTML boilerplate --
<%= yield %>.That is where the contents of our view templates get plugged in before the entire response gets sent to our users' browsers.
public/folder, and use them as the
public/rock_image.jpg, you can use it like this:
public/folder. You can also create subfolders to keep things organized, if you like.