CouchdbActsAsList
Implementation of the acts as list gem for CouchDB
Installation
Add this line to your application's Gemfile:
gem 'couchdb_acts_as_list'
And then execute:
$ bundle
Or install it yourself as:
$ gem install couchdb_acts_as_list
Usage
class Locale < CouchRest::Model::Base
include CouchdbActsAsList
end
Instance methods
locale.position
locale.insert_at 2
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
#TODO:
Add scope support.