News for hackers. Stuff that matters.
Re:Trello clone with Phoenix and React – 5-part tutorial by tortilla on Friday January 22, 2016 @11:08PM (#10957142)
Take a look at this Rails gem, https://github.com/mixonic/ranked-model/

It's a bit more efficient than traditional ordering...

From the readme:

ranked-model is also optimized to write to the database as little as possible: ranks are stored as a number between -8388607 and 8388607 (the MEDIUMINT range in MySQL)

There are no comments on this comment yet.