update_all not changing updated_at

Hi everyone-

Model.update_all works and changes the records, but it's not changing the updated_at field. Am I doing something wrong or is this by design?

Thanks, Dino

Model.update_all works at a lower level that all that stuff.

Fred

Thanks for the reply. I'm just trying to do some offline ranking, is there a better way to do this than update_all? Dino

Thanks for the reply. I'm just trying to do some offline ranking, is there a better way to do this than update_all?

You could easily make your call to update_all update the updated_at
column (although it would be indiscriminate)

Fred