title: Rails load selective contents into view using jquery load function
body: <p>Recently, I've found this <a href="https://codyhouse.co/gem/animated-page-transition-2/" rel="nofollow">template from codyhouse</a> which I decided to play with it a little in a sample rails app.</p>
  
  <p>Looking into the code, I found that the page transition from the side navigation bar is happening via jquery load function.</p>
  
  <p>From what I understand, whenever view, say <code>user/show</code>, gets loaded in rails, the contents written in the specified url, which in this case would be the contents in my <code>user/show.html.erb</code> file, gets embedded in the <code>application.html.erb</code> file.</p>
  
  <p>As this is the case, I was wondering if there would be a way to "swap" contents being embedded into the <code>application.html.erb</code> file perhaps via jquery load function. For instance, without having to reload the whole view, replace the <code>user/show.html.erb</code> contents loaded in the page with the contents of <code>user/signup.html.erb</code>. Or is it not possible as it deviates from the concept of the MVC model?</p>