Would you mind posting an example of the hash and an example of how you would like it sorted?
Thanks, Josh http://iammrjoshua.com Sunny Bogawat wrote: > Hi, > > My hash contain key as a combination of album date created_at and > album_id and values are some photo object.and i need to sort this hash > based on key; but i need to sort it also considering date created_at. > but if i consider a key as combination of both (date creataed and > album_id) then it is not pure date. how i solve it? any better solution -- 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 [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 -~----------~----~----~----~------~----~------~--~---

