Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.25 KB

Rethinker

Rethinker is a Ruby ORM for RethinkDB.

Installation

gem 'rethinker'

Usage

See documentation

Features

  • 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 (*.find vs. find!).
  • where, order_by, skip, limit, each
  • update, inc, dec
  • belongs_to, has_many
  • to_json, to_xml
  • attr_protected
  • Scopes
  • Thread-safe
  • Polymorphism

Contributors

  • Andy Selvig (@ajselvig)

License

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.