active_record_florder 0.0.1
Floating point ActiveRecord models ordering for rich client apps heavily inspirated by Trello's ordering alorithm. ActiveRecordFlorder let client decide position of model in collection normalize given value and resolve conflicting positions in collection to keep your data clean. It's highly optimalized and generate as small SQL queries as possible. The whole philosophy is to load and update as little records as possible so in 99% it runs just one SELECT and one UPDATE. In edge cases sanitization of all records happens and bring records back to the Garden of Eden. It's implemented with both Rails and non-Rails apps in mind and highly configurable.