Rails 2.0: Release Candidate 2

After another batch of fixes, tweaks, and buckets of polish, we’ve prepared the hopefully last step before 2.0 can go final: Release Candidate 2. If nothing major pops up, expect the final version to land within the next week or two at the most.

As usual, we got the latest gems on the gems.rubyonrails.org server and there’s a RC2 tag as well. Please put this final test through the ringer so we can get a clean 2.0.0 final release.

If you haven’t kept up to date on what’s new in 2.0, have a look at the original preview release announcement. The gem version for this release is 1.99.1. Enjoy!

Ruby on Rails 1.2.6: Security and Maintenance Release

The rails core team has released ruby on rails 1.2.6 to address a bug in the fix for session fixation attacks (CVE-2007-5380). The CVE Identifier for this new issue is CVE-2007-6077.

You should upgrade to this new release if you do not take specific session-fixation counter measures in your application. 1.2.6 also fixes some regressions when working with has_many associations on unsaved ActiveRecord objects.

As with other 1.2.x releases, this is intended as a drop in upgrade for users of earlier versions in the 1.2 series.

To upgrade, `gem install rails`, set RAILS_GEM_VERSION to ‘1.2.6’ in config/environment.rb, and `rake rails:update:configs`.

New ActiveRecord Book, and a Contest!

To celebrate the launch of their book Pro Active Record: Databases with Ruby on Rails, Chad Pytel and Jon Yurek of thoughtbot kicked off a little contest:

We want you to email us your most ridiculous or bizarre client request — and tell us how it turned out. Did you implement it exactly to the specification even though it was absurd? Did you get them to compromise? Did you leave your job?

Check out their blog (which has probably the coolest name ever for a weblog) for more info. You have until November 30th to submit your entries, so get on it!

Rails 2.0: Release Candidate 1

We’ve been taking our sweet time, but now it really is almost there. We’ve just pushed new beta gems to gems.rubyonrails.org and created the rel_2-0-0_RC1 tag. So this is shaping up to be the last chance to raise concerns for Rails 2.0 before we go final in oh-so-shortly.

So please give it a spin. First, upgrade to 1.2.5 if you haven’t already. Fix all the deprecation warnings you see. Then try to jump on Rails 2.0 and see if it runs. If it doesn’t, and you think it’s not because of something you did wrong, please create a ticket.

We’re going to be running this release candidate phase over the next couple of weeks, give or take depending on how many issues are raised.

You can read all about why you should actually care about Rails 2.0 in the original preview release announcement.

The gem version for this release is 1.99.0.

Prototype 1.6.0 and script.aculo.us 1.8.0 released

New versions of the JavaScript libraries that ship with Rails, Prototype 1.6.0 and script.aculo.us 1.8.0, have been released. You can find out about the numerous changes on the Prototype blog and on mir.aculo.us. If you’re running Edge Rails, just svn up and run rake rails:update:javascripts to install the latest versions into your application automatically.

Also of note: Christophe Porteneuve’s Prototype & script.aculo.us book is now out of beta and available for purchase from the Pragmatic Programmers. It’s up-to-date with all of the new features in both libraries, so be sure to check it out if you’re using Prototype and script.aculo.us in your applications.

RailsConf '08: Call for participation

RailsConf 2008 is set to return to Portland on May 29th through June 1st. It takes a lot of time and coordination to get a conference of that magnitude put together, so we’re starting early by asking for presentation proposals from the community. The submission deadline is December 13th.

We’re really hoping to get some more advanced stuff this year. More nitty gritty details. More code on the wall. What did you learn from your last project that others could benefit from too? What techniques have you been experimenting with? What awesome plugins do you find invaluable? This is the place to share all that learning with the rest of the community.

A good reason to take that bold step into submitting a conference proposal is to raise your visibility in the community. I’ve met with lots of speakers who say that they got great business leads after presenting at a Rails conference. Your next client, boss, co-worker, or open-source collaborator may well be in the audience when you’re presenting.

Most of all, though, it’s a lot of fun to share and you tend to learn as least as much as your audience when giving a presentation at a major conference like this. I strongly recommend that you think about which areas of Ruby on Rails you’re especially passionate about and submit a proposal to share that passion.

Today is Leopard day!

OS X 10.5 is shipping today under the Leopard moniker. Besides being a great upgrade to a wonderful operating system, it's also the first version of OS X that ships with Rails in the package. Apple has done a phenomenal job including all the good stuff from the Ruby and Rails world into the developer tools that come with the OS.

So out of the box you get Ruby 1.8.6, Rails 1.2.3 (which is just a "gem update rails" call away from being 1.2.5), Capistrano, SQLite-bindings, and so much more. No more need for compiling your own Ruby. It's great. See all the changes in What's New in Leopard.

The only minor snag is that in order to install the MySQL C bindings for Ruby, you have to be quite particular on the command line. Here's the cheat line you need to install (read more at macosforge):

sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

So happy Leopard day, folks!