Colin Law wrote in post #967382: > On 9 December 2010 10:20, Priya Baskar <[email protected]> wrote: >>> What do you mean by 1st record of profile? Profile is a hash so does >>> not have records. >>> >>> Colin >> >> 1st record of profile means, 1st key value pair. > > I believe hashes are not ordered so there is no such thing as the 1st > key.
In Ruby 1.8, hashes are not ordered. In Ruby 1.9, they are ordered. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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.

