Skip to content

czarlos/ruby-nuodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 12, 2013
4a5fd94 · Aug 12, 2013
Aug 12, 2013
Jun 21, 2013
Jun 21, 2013
Mar 26, 2013
Jun 21, 2013
Dec 3, 2012
Dec 3, 2012
Jun 26, 2013
Dec 3, 2012
Jun 10, 2013
Dec 3, 2012
Aug 8, 2013
Apr 29, 2013
Dec 3, 2012
Mar 26, 2013
Jun 10, 2013
Jun 21, 2013
Mar 26, 2013
Aug 5, 2013
Aug 5, 2013

Repository files navigation

Ruby/NuoDB Interface Build Status Dependency Status

This is the official Ruby Gem for NuoDB. It wraps the NuoDB C++ API, providing a natural API for Ruby.

To use NuoDB with Rails you will also want the ActiveRecord NuoDB Adapter

Note: At this time the Ruby/NuoDB Interface does not support Windows.

Getting Started

  1. If you haven't already, Download and Install NuoDB

  2. Install the gem

    gem install nuodb
    
  3. Use NuoDB in Ruby

    require "nuodb"
    
    conn = NuoDB::Connection.new(:database => 'test@localhost', :username => 'dba', :password => 'goalie', :schema => 'hockey')
    stmt = conn.statement
    stmt.execute("SELECT * FROM hockey")
    stmt.results.each do |res|
        puts res.inspect
    end
    

More Information

Contributing

See Contribution for information about contributing to the Ruby ActiveRecord NuoDB Adapter.

githalytics.com alpha