title: How to make Rails render a view and automatically scroll down?
body: <p>I have an obnoxiously large landing page with a registration form in the middle of it. If I submit the form and validation fails, I want to render the landing page again, but I want it be scrolled down to the registration form so they can see the errors and make edits. Is this possible to jump down to the form with the <code>render</code> method, or do I need to do  <code>redirect_to "account/new#theFormID"</code>?</p>
  
  <p>I would rather not do a redirect because you have to save the form information in a session, repopulate the form, et cetera, and I want to stick the conventional</p>
  
  <pre><code>if @resource.save then redirect_to ...
  else render "new"
  end
  </code></pre>