Would you like to remove the object that contains var3?

var3 isn' at the nested array, it's a nested property of an object
that is in there.

If you wanted to remove it, it would be like this:

var1[0].var2.delete_at( 0 )

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)



On Mon, Jan 26, 2009 at 5:50 AM, Ukrit Himakoon
<rails-mailing-l...@andreas-s.net> wrote:
>
> suppose that I've some kind of array like this
>
> var1[0].var2[0].var3
>
> So I would like to remove var3 out of this nest array
> what I should do?
>
> and after I tried to use delete It's also delete some important value
> out from database any idea?!
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to