I'm also coming from a node/express background, this video specifically was helpful for someone who has an idea/background in web development as opposed to a brand new developer. Thank you so much!
Hi , I'm coming from a Node/Express background, and I'm looking to learn Ruby and Ruby on Rails to use as an API only, please what resource can you suggest for me
Is one of the reasons to use the singular 'resource' instead of the plural 'resources' to hide the posts#show :id from the URL? How would the user specify which post they want without sending an :id to the server in the HTTP request? Or is it sent a different way (not in the URL)?
'resource' is handy for cases where a user only has one of that resource e.g., profile. It does not use :id in the url, and instead points to the single resource every time for #show, #edit, #update and does not have #index, seeing as there is only one. Note that using form helpers with a single resource might create a no method error, and you will have to pass in the URL to the form to point to the correct route (non-pluralised).
I'm also coming from a node/express background, this video specifically was helpful for someone who has an idea/background in web development as opposed to a brand new developer. Thank you so much!
Very nicely explained.
a request for next part. please.
Nice one, keep it up... :)
Hi , I'm coming from a Node/Express background, and I'm looking to learn Ruby and Ruby on Rails to use as an API only, please what resource can you suggest for me
Start here :) th-cam.com/video/3S9fyfmCf1A/w-d-xo.html
@@Webcrunch thanks 👌🏾
Is one of the reasons to use the singular 'resource' instead of the plural 'resources' to hide the posts#show :id from the URL? How would the user specify which post they want without sending an :id to the server in the HTTP request? Or is it sent a different way (not in the URL)?
'resource' is handy for cases where a user only has one of that resource e.g., profile. It does not use :id in the url, and instead points to the single resource every time for #show, #edit, #update and does not have #index, seeing as there is only one. Note that using form helpers with a single resource might create a no method error, and you will have to pass in the URL to the form to point to the correct route (non-pluralised).
Waiting for more videos on Rails