Session 6: Exercise

EXERCISE 1:

  • Set up Rails in your Codespace
  • Start the server using rails s and view the page in your browser

EXERCISE 2:

  • Create a root route & controller that outputs (in plaintext) a random name from an Array of friends using Array#sample (which will return a single element from an Array)