0x13 – Happy birthday, Rails 2.3

It is a bit early, but still. Rails is going to turn 4! Candles, Fireworks, and everything!

And yes: Rails 2.3 is somewhat announced. And the fanbase rolls on the floor out of sheer excitement: rails now has :having! Whoa! Big news!

Justin: The :having feature is really nice because my :group options are really ugly with the HAVING in them.

Hey Justin, that is exactly the point: Rails is now nearly a bit still not at all feature complete with respect to SQL. And it will never be. Having Rails DB agnostic is a pointless goal because

  • your app wouldn’t be DB agnostic anyways (or compare the quite different syntax for NOW(), String concatenation, RAND(), just to name a few)
  • I want subqueries
  • I want foreign keys
  • I want views

Rails will never be 100% SQL-feature complete, unless, of course, it recreates SQL completely. And where is the point in that? If I was Rails, I would drop all most of the higl level db abstraction shit, or at least fix the stuff that is in Rails already (e.g. Merging named scopes might create illegal SQL code). And instead concentrate on real improvements.

Not that they were missing: this is my fav news:

Rack Integration:

The tighter integration of Rails with Rack continues. This week saw the death of the venerable CGI processor within Rails, as well as the use of Rack to handle FCGI. There was also some refactoring down in the Rails tests to make them play nicer with Rack.

and, of course, the announced merger integration of Merb into Rails. Can’t wait to see that happen!




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s