Skip to content

Instantly share code, notes, and snippets.

View andrewdwooten's full-sized avatar

Andy andrewdwooten

View GitHub Profile
@andrewdwooten
andrewdwooten / AWooten-prework.md
Last active November 21, 2016 22:21 — forked from mbburch/prework.md
An example template for your Turing pre-work Gist

Turing School Prework - Andy Wooten

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist:

@andrewdwooten
andrewdwooten / crud_cfu.md
Last active January 24, 2017 05:41 — forked from case-eee/crud_cfu.md
CRUD CFU Questions
  1. Define CRUD. create, read, update, delete

  2. Why do we use set method_override: true? The comment says it allows us to use '_method' in the form. I'm honestly not quite tracking the flow of things through there.

  3. Explain the difference between value and name in this line: <input type='text' name='task[title]' value="<%= @task.title %>"/>. The name looks like it's a string to identify the name of the box. The value is using ruby ?injection? to call the title method on @task, task object?, and get that value that it was created with to put in the text area.

  4. What are params? Where do they come from?