Fix the bug that cache-money can't work on Ruby 1.9

This code leverages a bug in Ruby 1.8 to evaluate. But this code can't work in 1.9, So I fixed it.