Skip to content

Instantly share code, notes, and snippets.

@mbattur
Created January 6, 2016 16:30
Show Gist options
  • Select an option

  • Save mbattur/cfa3088e0e69f1f6f79d to your computer and use it in GitHub Desktop.

Select an option

Save mbattur/cfa3088e0e69f1f6f79d to your computer and use it in GitHub Desktop.
CRUD stands for Create Read Update Delete. CRUD actions align with controller HTTP verbs and controller actions in a Rails app.
CRUD Action HTTP Verb Rails Action(s)
Create POST create
Read GET new/show/index/edit
Update PUT/PATCH update
Delete DELETE destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment