From: Ryan Ong Date: 2010-12-01T00:30:53+09:00 Subject: [ruby-core:33491] [Ruby 1.9-Bug#4103][Open] String#hash not returning consistent values in different sessions Bug #4103: String#hash not returning consistent values in different sessions http://redmine.ruby-lang.org/issues/show/4103 Author: Ryan Ong Status: Open, Priority: Normal Category: core, Target version: 1.9.2 ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-darwin10.4.0] I open one irb session ruby-1.9.2-p0 > 'test'.hash => -658842761 ruby-1.9.2-p0 > 'test'.hash => -658842761 The second time I open it ruby-1.9.2-p0 > 'test'.hash => 11032433 ruby-1.9.2-p0 > 'test'.hash => 11032433 I have no clue if this is on purpose or not but in 1.8.7 it was consistent across different sessions. ---------------------------------------- http://redmine.ruby-lang.org