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 Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.