Blog

Thursday 19 November 2009

Acts As Lockdown

A Rails plugin that addresses the need for certain ActiveRecord attributes to be unwritable when a record has entered a certain state. Take for example a product that begins in a "pending" state, and later enters a "published" state. From that point on, you require that the price and description must not be changed. The plugin assumes that you have a state machine in place that and your object will respond to a query on the state you specify eg self.published? It works... More

Wednesday 30 September 2009

javan-whenever + WebFaction

I have had much trouble on a few different servers (including Webfaction) getting javan-whenever working with Capistrano and I finally started reading through Capistrano’s endless logging and discovered that the useful information (a descriptive, useful error message) was hidden away in a sea of useless noise - it turns out that sh simply w... More

Sunday 30 August 2009

Sinatra To Do List Application

Because the world has been screaming out in agonized, pleading desperation for a to do list application, I proudly present to you my Sinatra to do list application, replete with super useless powers. Features: * If you know how to get this up and running, you could have just written your own http://github.com/gordonbisnor/Sinatra-To-Do-List git clone git@github.com:gordonb... More

Wednesday 19 August 2009

Configuring A WebFaction Email Account In Outlook Express

I’ve had a number of clients lately who use Windows (egad!) and they have been struggled to understand how to configure their new WebFaction email account using Outlook Express on Windows. This guide works for me. You also might want to use SSL for POP3 incoming in which case your port would be 995. 1) First go to Outlook Express, click Tools => Accounts More

Saturday 25 July 2009

New Wilderness Feature: Text Editor Preference

Added a new feature to Wilderness CMS system today - a preference that will change text areas from TinyMCE default to Textile, Markdown, Simple Format or plain. Comes with an accompanying helper for views. formatted_text(content) More