title: Reloading partial in an rails app
body: <p>I want to reload a partial every 3 seconds on a 'new'-view in my rails app.</p>
  
  <p>I have this in my <code>new.html.erb</code></p>
  
  <pre><code>&lt;h1&gt;Controller#new&lt;/h1&gt;
  This is my static content
  &lt;%= render partial: 'dynamic' %&gt;
  More Static content
  </code></pre>
  
  <p>How do I get this partial reloaded every 3 seconds? Do I have to use unobtrusive javascript for this? How can I achieve this through ujs?</p>