Update Rails for nested API resources.