title: when does rails looks for Index method and when for show method in controller
body: <p>I'm new to Rails and I have been following a tutorial.</p>
  
  <p>I have been fiddling around with routes.rb and now in total confusion about when it looks for show method and when for index method if not explicitly mentioned?</p>