Bring back the ability to provide :order for update_all #2251

Merged
merged 1 commit into from Jul 25, 2011

Conversation

Projects
None yet
2 participants
Contributor

thedarkone commented Jul 25, 2011

Having UPDATE ... ORDER BY is sometimes necessary when performing incremental updates on UNIQUE indexed columns.

josevalim added a commit that referenced this pull request Jul 25, 2011

Merge pull request #2251 from thedarkone/update-all-order
Bring back the ability to provide :order for update_all

@josevalim josevalim merged commit a850cf7 into rails:master Jul 25, 2011

Contributor

thedarkone commented Jul 25, 2011

Should I also backport this into 3-1-stable?

Contributor

josevalim commented Jul 25, 2011

please.

spastorino added a commit that referenced this pull request Jul 25, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment