RubyGems Navigation menu

active_record_florder 0.1.0

Floating point ActiveRecord Models ordering for rich client apps heavily inspirated by Trello's ordering alorithm. ActiveRecordFlorder let client decide model's position in collection, normalize given value and resolve conflicts to keep your data clean. It's highly optimalized and generate as small SQL queries. 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 state. It's implemented with both Rails and non-Rails apps in mind and highly configurable.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - February 01, 2016 (14 KB)
  2. 0.0.1 - January 06, 2016 (13.5 KB)

Development Dependencies (3):

bundler ~> 1.11
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • Marek Fajkus

SHA 256 checksum:

37e08c38416af4714e82f671bf339c144b30d26e8e0608682aefcdea48cf32be

Total downloads 7,590

For this version 4,891

License:

MIT

Required Ruby Version: >= 0

Links: