update for rails 3.2

Hi Matijs,

I've updated memory_test_fix for rails 3.2

Cheers,
Stephan