Rethinker is a Ruby ORM for RethinkDB.
gem 'rethinker'- Compatible with Rails 3 and Rails 4
- Autogeneration of ID, MongoDB style
- Creation of database and tables on demand
- Attributes accessors (
attr_accessor) - Dynamic attributes
- Validation support, expected behavior with
save!,save, etc. (uniqueness validation still in development) - Validatation with create, update, save, and destroy callbacks.
find,create,save,update_attributes,destroy(*.findvs.find!).where,order_by,skip,limit,eachupdate,inc,decbelongs_to,has_manyto_json,to_xmlattr_protected- Scopes
- Thread-safe
- Polymorphism
- Andy Selvig (@ajselvig)
Copyright © 2013 Databasify
Rethinker is a fork of NoBrainer, copyright © 2012 Nicolas Viennot
Rethinker is licensed under the MIT license, and was forked from NoBrainer before the latter switched to the LGPL.
See LICENSE.md.