Using Rails 3.2. Let's say I have the following view:
<div class="content">
<div class="main">
<h1><%= @shop.name %></h1>
<p><%= @shop.description %></p>
</div>
<div class="sidebar">
<%= render 'teasers' %>
</div>
</div>
Is there a way to just load the page first, then load the teasers
later? Reason being so is because teasers
takes some time to query (I have already optimized the query).