Money rails type lost

@dblock: Here's the test that should reproduce the issue #120 
Hope it helps.