- Given 3 branch
master
,feature1
, andfeature2
. If you made a pull request onfeature1
andfeature2
on github and mergedfeature1
. Then when you try to mergefeature2
you realize that there are conflicts. What are the step you have to do so that you can mergefeature2
on github? - How do we make sure that
resources :posts
haveapi/
infront of every path? - If we nested our
resources :posts
insideapi
what is the folder structure going to be like? Also what is the first 2 lines ofposts_controller.rb
going to be like? - If we were to render all posts using json, what would the line of code be?
- If we were to render just the status, what would the line of code be?