syntax fix rails