Update rails to 3.1.10.

Signed-off-by: François de Metz <francois@stormz.me>