title: Using puts in rails
body: <p>I have this code in controller:  </p>
  
  <pre><code>array = ["asd", "asd", "asd"]
      @print = array.each do |i|
         puts "Random text #{i}"
      end
  </code></pre>
  
  <p>And now I want to print it in some pages view like show.html.erb:</p>
  
  <pre><code>&lt;%= @print &gt;
  </code></pre>
  
  <p>And I get this: <code>["asd", "asd", "asd"]</code>  But In controller I sayd to <code>puts</code> each object in array, but it is not doing it?</p>