a=["a","b","c"] a.pop="c" a is now ["a","b"]
Is that what you want? Martin On Jan 26, 9:19 am, Ukrit Himakoon <[email protected]> wrote: > Ukrit Himakoon 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?! > > hello??????????? > -- > Posted viahttp://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

