Skip to content

Instantly share code, notes, and snippets.

@Carmer
Created March 21, 2016 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 21 You must be signed in to fork a gist
  • Save Carmer/f382765ddcc76d709db9 to your computer and use it in GitHub Desktop.
Save Carmer/f382765ddcc76d709db9 to your computer and use it in GitHub Desktop.

Introduction to Sinatra

1. What is the purpose of the server file (routing)?

2. How do you pass variables into the views?

3. How can we interpolate ruby into a view (html)?

4. In what format does data come in from a view/form? What do we call it?

5. What are params?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment