fix rails override render method