On 23 Feb 2009, at 08:48, Cyrus Dev wrote:
> > > Yes fred > > I modify that array and hash that is my question.. > > Can I do that array like original like activ record array ? using any > ruby or rails functions ? > Only if you create new objects from those hashes. Fred > thanks > > > Frederick Cheung wrote: >> On Feb 21, 12:06�pm, Cyrus Dev <rails-mailing-l...@andreas-s.net> >> wrote: >>> >>> but after modifying this array with >>> [{zip=>'d',{po => 'd'}}] >>> >>> then we can't use that directly in view it should some thing i >>> have to >>> write in file file liek >> >> Well you've changed your array of active record objects into a hash >> or >> an array of hashes - you just need to access that appropriately >> (exactly how will depend on what you did to your original array). >> >> Fred > > -- > 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 -~----------~----~----~----~------~----~------~--~---