The Ruby Toolbox - Know your options!

pg

21.49
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end
 Popularity
Downloads
46,831,671
 Releases
Total releases
126
First release
Latest release

sqlite3

10.56
This module allows Ruby programs to interface with the SQLite3 database engine (http://www.sqlite.org). You must have the SQLite engine installed in order to build this module. Note that this module is only compatible with SQLite 3.6.16 or newer.
 Popularity
Downloads
44,710,545
Stars
398
Forks
122
Watchers
20
 Releases
Total releases
51
First release
Latest release

mysql2

10.13
A simple, fast Mysql library for Ruby, binding to libmysql
 Popularity
Downloads
39,506,170
Stars
1,707
Forks
374
Watchers
71
 Releases
Total releases
135
First release
Latest release

mysql

1.97
This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs. This package is offered as gem for easy installation using RubyGems. It wraps unmodified tmtm's mysql-ruby extension into a proper gem. Please note that tmtm (Tomita Mashahiro) has deprecated development of this extension and only update it for bug fixes.
 Popularity
Downloads
8,435,588
Stars
44
Forks
17
Watchers
5
 Releases
Total releases
14
First release
Latest release

sqlite3-ruby

1.06
This module allows Ruby programs to interface with the SQLite3 database engine (http://www.sqlite.org). You must have the SQLite engine installed in order to build this module. Note that this module is NOT compatible with SQLite 2.x.
 Popularity
Downloads
3,301,985
Stars
398
Forks
122
Watchers
20
 Releases
Total releases
40
First release
Latest release

jdbc-mysql

0.96
Install this gem `require 'jdbc/mysql'` and invoke `Jdbc::MySQL.load_driver` within JRuby to load the driver.
 Popularity
Downloads
1,425,414
Stars
431
Forks
339
Watchers
46
 Releases
Total releases
19
First release
Latest release

jdbc-postgres

0.84
Install this gem `require 'jdbc/postgres'` and invoke `Jdbc::Postgres.load_driver` within JRuby to load the driver.
 Popularity
Downloads
887,028
Stars
431
Forks
339
Watchers
46
 Releases
Total releases
22
First release
Latest release

ruby-oci8

0.43
ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with Oracle 10g or later including Oracle Instant Client.
 Popularity
Downloads
930,433
 Releases
Total releases
72
First release
Latest release

ruby-mysql

0.18
This is MySQL connector. pure Ruby version
 Popularity
Downloads
384,287
Stars
126
Forks
33
Watchers
14
 Releases
Total releases
15
First release
Latest release

postgresql_cursor

0.14
PostgreSQL Cursor is an extension to the ActiveRecord PostgreSQLAdapter for very large result sets. It provides a cursor open/fetch/close interface to access data without loading all rows into memory, and instead loads the result rows in "chunks" (default of 1_000 rows), buffers them, and returns the rows one at a time.
 Popularity
Downloads
145,003
Stars
197
Forks
32
Watchers
9
 Releases
Total releases
11
First release
Latest release

mysqlplus

0.12
Enhanced Ruby MySQL driver
 Popularity
Downloads
83,470
Stars
171
Forks
30
Watchers
14
 Releases
Total releases
2
First release
Latest release

postgres-pr

0.1
A pure Ruby interface to the PostgreSQL (>= 7.4) database
 Popularity
Downloads
219,087
 Releases
Total releases
20
First release
Latest release

ibm_db

0.09
Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows, DB2 on zOS, DB2 on i5/OS, Informix (IDS)}
 Popularity
Downloads
182,144
Stars
29
Forks
24
Watchers
22
 Releases
Total releases
90
First release
Latest release

kbam

0.0
Simple gem that makes working with raw MySQL in Ruby efficient and fun! It's basically a query string builder (not an ORM!) that takes care of sanatization and sql chaining.
 Popularity
Downloads
8,160
Stars
3
Forks
0
Watchers
1
 Releases
Total releases
7
First release
Latest release