The JRuby Blog

The Ruby Programming Language on the JVM

activerecord-jdbc-adapter 1.2.0 Released!

Published by Nick Sieger on

With the advent of our new blog
comes a new software release. Our JDBC-based adapter for ActiveRecord
is now compatible with the Rails 3.1 release. AR-JDBC is
also tested to be compatible with 2.3.x and 3.0.x.

Install it as usual with gem install activerecord-jdbc-adapter.

A new and notable feature of Rails 3.1 is that support for AR-JDBC is
built-in. So when you generate a new Rails application with JRuby,
your Gemfile will be set up automatically for use with JRuby and
AR-JDBC. The rails new command:

rails new photoblog -d mysql

creates the following section of the Gemfile:

gem 'activerecord-jdbcmysql-adapter'

So, no more -m, no more rails generate jdbc,
nothing. JRuby on Rails works out of the box.

I also want to take a moment to welcome Anthony Juckel,
Arun Agrawal, Guillermo Iguaran, Matt
, Luca Simone, and Samuel
for stepping up to the plate to help maintain
AR-JDBC going forward. Thanks everyone!