title: Rails Render a partial inside partial with collection
body: <p>I have a partial nested inside collection of partial. For example</p>
  
  <pre><code>&lt;= render partial: "users/user", collection: @users, as: :user %&gt;
  </code></pre>
  
  <p>inside <code>_user.html.erb</code> partial, I am rendering another partial as follow:</p>
  
  <pre><code>&lt;%= render partial: "users/user_info", locals: {user: user}  %&gt;
  </code></pre>
  
  <p>It works this way, but the problem is that it is rendering <code>_user_info.html.erb</code> partial for each user object and this makes it to take a long time. How can I avoid this? Any suggestions?</p>