Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TIL...
- 1.) How to procedurally generate web addresses.
- 2.) How to pass in dynamic information from user
- - string query params - get [domain][url]'?'[key=value]&[key=value]&etc...
- - url segment params - get [domain][url/:key_name/hard_url/:wildcard] value = whatever is entered in the url
- - body (or form) params - (can't be done through browser) post [
- 3.) Google use string query params
- 4.) Servers run for individual api's
- 5.) 'params' works specifically with
- 6.) when generating a controller 'rails generate controller controller_names' you can shorten 'controller' to 'c'
- 7.) The same can be said of 'rails console' => 'rails c'
Add Comment
Please, Sign In to add comment