fix rails32 patch