thoughtbot/paperclip — pull request #1231 by kakra (2013-05-03 11:56:22+00:00)
Title: Remove ordering by id during refresh rake task

Ordering by id breaks compatibility with tables having no column named "id" (e.g. if using a legacy database) without real benefit. While ordering makes multiple runs with errors deterministic, I suggest to rely on the database engine to return unordered results in a deterministic way (e.g. on-disk order). If ordering is a requirement, I suggest to put this feature back only without hardcoding the primary key name. Some people may even use composite primary keys which would break this in the same way.