Re: Update model with array of IDs

Michael Pavling
Tue, 21 Feb 2012 15:32:17 -0000

On 21 February 2012 15:25, Rajarshi Chakravarty
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:
> I am trying to use the update method of activerecord with an array of
> ids as the first param.
> It does not update any row. The APIs say that it should work.

What error message do you get? Do both of those IDs map to records? Do either
of them get updated?