Ordered hash

hi all,
I want to use ordered hash. to do it in ruby i am using RBTree
. Without using taht how to do it in rails

regards,
senthil