title: Render partial in controller using Ruby On Rails
body: <p>Im using Rails 3 in my project.</p>
  
  <p>In controller > articles
  In view > index.html.erb</p>
  
  <pre><code>&lt;% if @articles.blank? %&gt;
  &lt;%= render :partial =&gt; "blank" %&gt;
  </code></pre>
  
  <p>I dont want to write querysets in views for checkin (if empty do this or do this)
  How can I pass blank slate partial (if queryset is empty) inside controller ?</p>
  
  <p>Thanks.</p>