title: How to make Rails render slim templates instead of erb templates?
body: <p>In my current project I used to use erb as the default view template, then I decided to switch to slim, so I used tools to convert all the .erb files to .slim files.</p>
  
  <p>Now I have erb and slim files co-exist in the same folder, the problem is after I restarted the rails server, it still rendered the old .erb files, not the .slim files as I expected.</p>
  
  <p>I have already put 'gem slim-rails' in my Gemfile and updated it, so what else should I do to let Rails choose these slim templates to render instead of the erb templates?</p>
  
  <p>PS: Do I have to delete all the .erb files? Because I want to keep them as a study purpose.</p>