ruby_cassandra
1) Get cassandra installed on a node.
2) Install ruby using the following script: https://github.com/joshfng/railsready
3) Follow the next guide for basic ruby/rails information: http://guides.rubyonrails.org/getting_started.html
4) Follow the next guide for cequel: http://rubydoc.info/gems/cequel/1.2.4/frames
4) Replace the model with the cequel model
edit: app/models/article.rb, replace with contents in the cequel format:
1 class Article
2 include Cequel::Record
3
4 validates :title, presence: true, length: { minimum: 5 }
5
6 key :id, :timeuuid, auto: true
7 column :title, :text
8 column :text, :text
9
10 end
~