Cequel – Big data meets rapid development



Cequel – Big data meets rapid development

0 0


cequel.github.io


On Github cequel / cequel.github.io

Cequel is a full-featured Cassandra ORM for Ruby.

Install it.

source 'https://rubygems.org'

gem 'rails'

Create a model.


                

Migrate automatically.

$ 

Declare relationships.

class User
  include Cequel::Record

  key :id, :uuid, auto: true
  column :email, :ascii
  column :encrypted_password, :ascii

  validates :email, :encrypted_password, presence: true
end

Declare relationships.


                

Use relationships.

class MessagesController < ApplicationController
end

Use it with

  • Ruby 1.9, 2.0, 2.1
  • Rails 3, Rails 4, or no Rails
  • Cassandra 1.2 or 2.0

Learn more