title: how to pass multiple parameter in render action in ruby on rails
body: <p>my source code is </p>
  
  <pre><code>.modal-body
    =render 'folders/pieces/update', id: @piece , folder_id: @piece.folder_id
  </code></pre>
  
  <p>It throws an error:</p>
  
  <pre><code>undefined method 'folder_id' for nil:NilClass 
  </code></pre>
  
  <p>I want to pass two parameters in render page</p>