tag:blogger.com,1999:blog-12467669.post6366474458221860232..comments2023-04-29T07:23:25.825-04:00Comments on Jay Fields' Thoughts: Rails: Hash#diffJayhttp://www.blogger.com/profile/14491442812573747680noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-12467669.post-13319924000474510542009-09-18T10:58:14.927-04:002009-09-18T10:58:14.927-04:00Yep, definitely handy for testing.Yep, definitely handy for testing.Daniel Bergerhttps://www.blogger.com/profile/05224445093970941579noreply@blogger.comtag:blogger.com,1999:blog-12467669.post-5306305127083449942007-11-08T21:08:00.000-05:002007-11-08T21:08:00.000-05:00The behavior with disjunct hashes deserves a test,...The behavior with disjunct hashes deserves a test, too.<BR/><BR/> test "find the difference between two disjunct hashes" do<BR/> assert_equal({:a => 1, :x => 100}, {:a => 1}.diff({:x => 100}))<BR/> endAnonymousnoreply@blogger.com