With the advent of our new jruby.org 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
:
So, no more -m http://jruby.org
, 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 Kirk, Luca Simone, and Samuel Kadolph for stepping up to the plate to help maintain AR-JDBC going forward. Thanks everyone!