Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
NuoDB Ruby Native Database Driver
C++ Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext/nuodb
lib
rdoc
spec
tasks
.gitignore Fix gitignore to filter root level directories by name, not nested ones.
.rspec Rewrite Driver to Support Mark and Sweep as Well as a Natural API
.travis.yml
AUTHORS General rule of thumb in Ruby, only applications use Gemfile.lock;
Gemfile update Gemfile
History.txt bump to version 1.1
LICENSE
Manifest.txt
README.rdoc
Rakefile
nuodb.gemspec General rule of thumb in Ruby, only applications use Gemfile.lock;

README.rdoc

NuoDB Ruby Interface

Build Status Dependency
Status

Description

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 NuoDB Ruby Adapter.

Something went wrong with that request. Please try again.