title: Rails relative link within project
body: <p>I'm working on a Rails project on the domain <code>domain.com/my_project</code>. On the main page, i.e. the page <code>domain.com/my_project</code> itself, I have a link <code>&lt;a href="second_page"&gt;</code>. </p>
  
  <p>Instead of linking to <code>domain.com/my_project/second_page</code>, the link links to <code>domain.com/second_page</code>, which is incorrect. I don't understand why that is, and how should I fix it?</p>