An acts_as_sortable replacement built for Rails 3

Howdy all,

I just wanted to point out a new positioning library we open-sourced
at Harvest:

http://hrv.st/f03yfi

And github:

https://github.com/harvesthq/ranked-model

A couple reasons this is a nice option for positioning:

  • ARel! From the ground up this library uses ARel so sorts can be
    chained like any order() statement.
  • Multiple rankers for a single model.
  • Group sorted items by a common column or any scope.
  • Fewer database writes with a new position storage strategy.
  • Rspec! This lib is well tested.

I think it’s a great solution for a common problem Rails folk often
need to address. Any feedback or questions are welcome!

Thanks all,

-Matthew

PS- Harvest is hiring Rails devs at all skill levels:
http://www.getharvest.com/careers

Matthew B. :: 607 227 0871
Resume & Portfolio @ http://madhatted.com

Nice, thanks for sharing. I will give it a try in a project I am
currently
planning :slight_smile:

Markus

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs