Skip to content

Instantly share code, notes, and snippets.

@Joeventures
Created October 28, 2015 13:15
Show Gist options
  • Save Joeventures/7e36c1c8b0544d3d0731 to your computer and use it in GitHub Desktop.
Save Joeventures/7e36c1c8b0544d3d0731 to your computer and use it in GitHub Desktop.
1.1. rake routes
1.2. Add the as: parameter
1.3. Run rake routes
2.1. Creating an object with an API may involve using any one or more of several types of requests. Creating an object with a website involves using a GET request.
2.2. <form> and <input type="submit">. Rails equivalents: form_tag and submit_tag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment