Rails patch update