hello list I have this array, in irb I write @mercados it puts this [[#<Mercado id: 1, nombre: "Ibex 35", descripcion: "", simbolo: "^IBEX", created_at: "2008-08-13 10:22:42", updated_at: "2008-08-13 10:22:42">], [#<Mercado id: 1, nombre: "Ibex 35", descripcion: "", simbolo: "^IBEX", created_at: "2008-08-13 10:23:39", updated_at: "2008-08-13 10:23:39">], [#<Mercado id: 1, nombre: "Ibex 35", descripcion: "", simbolo: "^IBEX", created_at: "2008-08-13 10:23:55", updated_at: "2008-08-13 10:23:55">], [#<Mercado id: 2, nombre: "Nasdaq", descripcion: "", simbolo: "", created_at: "2008-08-13 17:39:27", updated_at: "2008-08-13 17:39:27">]] if I write @mercados[1] it puts #<Mercado id: 1, nombre: "Ibex 35", descripcion: "", simbolo: "^IBEX", created_at: "2008-08-13 10:23:39", updated_at: "2008-08-13 10:23:39">] I write @mercados[i].id but it is wrong I want params id, How do it?? thanks -- Posted via http://www.ruby-forum.com/.