0
I need to store data coming from a database search in an array, but with the code below it only stores a value in the array.
@busca= Item.find(:all,:conditions=>{:codigo=>params[:codigo]})
@busca.each do|buscador|
@novamatriz=Array.new
@novamatriz.append(buscador.modelo)
end
Post as response.
– rubStackOverflow