Skip to content

josha81/ordered_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ordered List

Ordered List is an extension for Active Record that allows you to sort and reorder records in your database. It is similar to acts_as_list, but uses a more advanced algorithm based on binary tree paths to achieve greater flexibility and improve performance.

Ordered List is currently a work in progress and is not suitable for production use yet.

Synopsis

In your Gemfile:

gem "orderedlist"

In your model:

class Foo < ActiveRecord::Base
  acts_as_ordered_list
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Other projects

https://github.com/harvesthq/ranked-model https://github.com/shuber/sortable https://github.com/codegram/resort https://github.com/12spokes/acts_as_restful_list

Copyright

Ordered List is copyright (c) 2012 Joshua Aydin

License

Ordered List is released under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages