I'm trying to insert a object into a array, but instead of insert into array, it prints in the screen the memory addresses.
I have the following code in my controller:
@article = Article.new("test","test1") @articles << @article #this line causes the prints
And my view have this code:
<%= @articles.each do |a| a.titulo + " / " + a.texto end %>