Go grab Hobo 0.8.8 : )
Actually I only just published the gems so don’t forget that Rubyforge takes a while to get its act together.
I’m really posting this on behalf of Bryan who’s done pretty much all the work in this release – thanks Bryan! And thanks to Owen and the guys at Barquin for their continued support.
This release is mostly bug fixes. The low-down, as usual, is in the changelog
Oh one more thing. We liked the fresh new look in the previous post so much that it’s now the Hobo default. (that doesn’t mean you need ImageMagick, we just included the generated PNG files in the Clean theme)
Enjoy!

Hobo 0.8.8 is coming very soon, consisting mostly of bug fixes and bringing us that bit closer to the hallowed version 1.0. While we’re waiting, I though I’d quickly let you know about a very simple Rails plugin I knocked up that makes it extremely easy to add gradient background images to your stylesheets. (If you follow the hobousers group you’ve already seen a mention of this.)
For example:
div.featured { background: url(/gradient_images/50:aaa:fff.png) repeat-x white; }
All that’s happening is that the plugin is rendering a PNG image on the fly; 1 pixel wide, 50 high, with a gradient from a light grey (#aaa) to white. It renders the image you would otherwise have to make yourself in Photoshop or whatever.
The general pattern for the image URL is:
/gradient_images/<height>:<start-color>:<end-color>.<format>
Colours are 3 or 6 digit hex values, as in CSS. The format can be anything supported by ImageMagick (e.g. png or jpg).
You can also do multiple gradients in the same image, like this
div.featured {
height: 100px;
background: url(/gradient_images/50:aaa:fff::50:fff:aaa.png) repeat-x
}
That will give an image 100 pixels high fading from grey to white and back to grey.
Note that you only take the performance hit on the first request, after that the images will be served up directly by your web server thanks to Rails’ page caching. You’ll see a bunch of image files in public/gradient_images.
Requires Rails 2.3 and RMagick.
The plugin is available on github.
UPDATE: We just threw up a quick example app on github. It’s great to see how much nicer you can make the default Hobo app look with just three CSS declarations.
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.