fix rails post