title: Difference between template, layout and view in rails
body: <p>I am going through the rails guides: <a href="https://guides.rubyonrails.org/layouts_and_rendering.html" rel="nofollow noreferrer">https://guides.rubyonrails.org/layouts_and_rendering.html</a></p>
  <p>Can someone say what's the difference between a view, a layout and a template in a rails application? With examples and code snippets if necessary. Thank you ahead of time!</p>