Articles

CodeMash wrap up coming

We promised a posting on our Ruby stuff from CodeMash and it is not here yet. We are polishing a few items for the Koans and will post them up when they are finished.

If they are not up by Friday you have permission to harass us :-).

Interviewed on InfoQ

We were recently interviewed by Rob Bazinet over at InfoQ about our book and how we got started with our careers working with Rails.

RSpec continues to dominate

Rspec is still at 53%, with votes as of 1/13/09

D2h mentioned in a talk a while ago that the idea is to give Rails users a sane default test framework that is as simple as possible.

Isn’t that cucumber / rspec?

Now, admittedly the people responding to that pole are probably more likely to be rspec users than the average rails coder, but rspec more than twice as popular as test/unit.

I think I even remember seeing some 37signals snippet of a campfire chat, where they were talking about rake spec passing.

How to protect downloads but still have nginx serve the files

I’ve just been working on a project where a number of downloads needed to be restricted to specific users. I needed to authenticate the user and then allow them access to the file. This is not too difficult in rails:

visualizing your repo

So, you want to see your repository in a brand new way. You’re sick of the command line, you need to see some graphs! Pixels! Buttons! Graphics! Dialog boxes! Ok, we get the point.

Our first option is viewing your repo in a browser. This functionality is packaged with most git installs:

git instaweb

This will fire up a server, usually lighttpd, to serve a simple web interface for your repository. You can browse commits, trees, view files, what have you.

Haml and Sass

Haml blesses those who use it with freedom from the verbosity of HTML and from the banality of un-programmable CSS. You can get straight to work thinking about your code instead of trudging through the boilerplate of angle brackets and closing tags.

With Sass your CSS becomes smart. Much, much smarter.

Special Offer: 50% off all new Brightboxes

To complement David’s earlier announcement regarding Passenger support in the Brightbox gem we’re also launching a very special discount offer for the rest of January 2009…

new_year_offer_banner

Brightbox Gem v.2.2 - now with Passenger support

Today I am pleased to announce a new release of our Brightbox Gem, version 2.2. This release brings us the long anticipated support for Phusion Passenger (a.k.a. mod_rails).

fixing broken commit messages

You just committed that awesome feature/test/bug, but something just isn’t right. Either some information isn’t filled out, the commit message is wrong, or something else is just messed up. Let’s go over what can be done to fix the associated data after the fact.

Fixing the previous commit is very simple. Just use

git commit --amend

And that will fire up the commit patch in $EDITOR for you to mess with. Simply edit the message right on the top line of the file, save, quit and you’re done.

Passenger Ubuntu package updated

We’ve just built new versions of our Passenger Ubuntu package.  It’s still Passenger 2.0.6, but we tweaked the dependencies so you aren’t forced to use the Apache worker mpm (prefork should work just fine with Passenger).

We’re now also providing 64bit versions of the packages (the source of the 404 errors some of you reported when trying to install the package).

Documentation for the packages in the usual place on the wiki.

More Passenger news coming soon :)

Not with a bang... | Rails Fire

Not with a bang...

This is the way the world ends / Not with a bang but a whimper.
T. S. Eliot

Anarchaia
Figure A Anarchaia

BIBERACH, GERMANY—Late last week, Christian Neukirchen’s influential tumbleblog Anarchaia breathed its last.

Anarchaia took the well established blog form and turned it into a multimedia stream of consciousness featuring photographs, poetry, lyrics, and links. Topics ranged from the merely curious to the highly technical. It managed to maintain the same visual theme throughout its lifespan which included a half-dozen posts almost daily.

The term tumblelog was coined in mid-2005 by Why the Lucky Stiff on his RedHanded blog.

Anarchaia also inspired the popular projectionist tumblelog, which launched a few months later. Entire startups were subsequently built around the form.

It is survived by the other Christian Neukirchen projects Rack, test/spec/bacon and his own blog. There are rumors that it has already reincarnated as Trivium.


PeepCode Screencasts – Learn Ruby on Rails and Javascript! Hour-long screencasts for $9.
Images: