title: Rails - append attributes and add to array
body: <p>I am having a slight problem with appending data and then adding it into the array.</p>
  
  <p>Here is my code</p>
  
  <pre><code>@order.orderdesc ||= []
  
  @cart.line_items.each do |item|
   @order.orderdesc += item.quantity +  "x" + item.product.title
  end
  </code></pre>
  
  <p>I only want to add  item.quantity and item.product.title. They can be accessed.</p>
  
  <p>Thanks</p>