• 0 min read

Clear the log files of all your rails projects

I hit a barrier last night where my virtual machine I use for Rails development ran out of space. I quickly checked around and saw my current Rails project had 800MB in log files (thanks autospec).

So I decided to quickly cook up this little bash...

  • 3 min read

Some notes on Rake

Murphy Law

I’m busy setting up and extensive suite of Rake tasks to manage the building, configuration, customization and deployment of Gentoo Linux onto USB drives.

We’re busy migrating all our servers (new and current) onto USB for various reasons, which...

  • 9 min read

Ruby and Messaging (Part 2) – Giving Rails a Break

NOTE: This post has been in draft for a couple of months now, and might seem a bit dated because of that. I need to complete the series and have decided to publish it for a sense of completeness.

Like all good bloggers out there, it seems plenty...

  • 4 min read

Review: Ruby on Rails 2.2 EnvyCast

So it started with a tweet, and ended up here. The first of a two part review of the Ruby on Rails 2.2 EnvyCast. But first some background…

RailsEnvy

Gregg Pollack and Jason Seifer are the comics of the Ruby and Rails worlds, and I have been a religious...

  • 0 min read

Postfix log grep gist

Just a quickie to tell you about my (first) latest gist: http://gist.github.com/19021

Basically search through the postfix maillog for a pattern, extract the postfix message id from each matched line, and then search through the log file for each...

  • 2 min read

Easy Google/Yahoo! Sitemaps with webby

webby, for those who don’t know, is a brilliant little gem by Time Pease for creating and managing static HTML sites with Ruby. Built as extension to Rake, it allows you to manage your content seperately from your layout, and use a host of filters...

  • 5 min read

Authentication Tokens, what are they all about?

Yesterday I pushed a slew of changes to the PowerDNS on Rails repo. The sole focus of the work was to extend the authentication system to have temporary authentication tokens. What are authentication tokens? Allow me to explain…

Some background

  • 1 min read

Open Source Rails projects, make sure you’re safe…

An impending doom? Possibly. There was a thread on the Rails Core list not too long ago, titled “Cookie session security and open-source“, and they covered what seems to be an obvious security flaw. I distinctly remember following the events as it...

  • 2 min read

Using hoptoad in open source project deployments

It came down on me like a ton of bricks when I deployed the audit updates to our production PowerDNS on Rails setup, hoptoad isn’t installed and any errors would just be gone and forgotten.

The solution is pretty simple, if you use git. This quicky...

  • 0 min read

PowerDNS on Rails now sports basic audits

Just as a quick update on the PowerDNS on Rails project, I’ve just pushed several updates to Github that most profoundly includes support for audits. Other smaller changes are also included, including plugin updates (HAML) and upgrading Rails to 2...