unwwwritten
21 posts
The chairman of the bored
Posted October 30th, 2008 at 6:49 pm PDT by S. Brent Faulkner
I bore easily. When doing something like watching TV, I tend to either channel surf, or hack, or program, or even read a book. So, when a ( …
A method to my madness
Posted October 16th, 2008 at 9:20 am PDT by S. Brent Faulkner
Sorry for not posting more frequently of late, but between the basement flood and the house renovations, and numerous other excuses, I just h …
has_many problems with validations
Posted September 11th, 2008 at 9:54 am PDT by S. Brent Faulkner
Today's gotcha has to do with using has_many and validations within the child model. In my use-case I need to create a parent record with on …
STI(ck) to it
Posted September 10th, 2008 at 6:50 pm PDT by S. Brent Faulkner
Single Table Inheritance is a handy feature of rails to take advantage of. Unfortunately, there are many pitfalls waiting for you should you …
A good helper is hard to test
Posted September 10th, 2008 at 6:51 am PDT by S. Brent Faulkner
So, you want to test your helpers? I had been using the "helper_test" plugin, as described on nubyonrails.com. However, when I ran into a pr …
One or the other (but not both)
Posted September 2nd, 2008 at 12:10 pm PDT by S. Brent Faulkner
I ran into a validation today that rails didn't handle for me... or if it does, I didn't see how... I wanted a model to contain field values …
Capistrano rocks!
Posted August 29th, 2008 at 7:27 am PDT by S. Brent Faulkner
A few years ago, I stopped playing golf. Not really as a conscious decision, I just didn't quite have the time (or money) for it. If When I d …
Colour with a U (and a v)
Posted August 20th, 2008 at 7:05 pm PDT by S. Brent Faulkner
Despite the fact that some of you may consider my spelling of the word colour an abomination, I hope that there are more of you that understa …
Authentication, publication and lockification
Posted August 19th, 2008 at 6:58 am PDT by S. Brent Faulkner
Not much to talk about here... although I'm sure I'll come up with more about these topics in a future post (especially user authentication). …
On being CONSTANT
Posted November 8th, 2007 at 1:24 am PST by S. Brent Faulkner
So, I'm working on the syncer and stumbled upon something that surprised me (probably due to my C and C++ background). Constants are not cons …
Domain Specific Languages
Posted November 5th, 2007 at 3:53 pm PST by S. Brent Faulkner
So, the kiwi that worked with me (until last week) and I have been working on a mechanism for synchronising a legacy FileMaker database and a …
Bend it to your will - Episode III
Posted September 9th, 2007 at 11:00 pm PDT by S. Brent Faulkner — 2 comments
In order to hook our plugin up to the ApplicationController (or any other controller class) we currently need to include the SimpleNav module …
Bend it to your will - Episode II
Posted September 9th, 2007 at 4:27 pm PDT by S. Brent Faulkner
Last time, we looked at a helper that I wanted to add to the SimpleLog Site class. In order to use it in that form, I would have to modify al …
Bend it to your will
Posted September 8th, 2007 at 9:08 am PDT by S. Brent Faulkner
So, you've found an open source Ruby on Rails application that your think does something you need (say a weblog application). You install it …
Tweak it, tweak it goooood
Posted September 6th, 2007 at 11:27 pm PDT by S. Brent Faulkner
Okay... slight depression setting in due to the drubbing that the Saints are taking at the hands of the Colts tonight, but it wasn't entirely …
Deep Red SimpleLog Theme
Posted September 3rd, 2007 at 11:01 am PDT by S. Brent Faulkner
I'm closer to picking the look for this site. I've ported another WordPress theme to SimpleLog. You can download Deep Red from here. I'll …
SimpleLog Grid Focus Theme
Posted September 1st, 2007 at 3:17 pm PDT by S. Brent Faulkner
For today anyway, I've changed my theme to Grid Focus, which I've just ported from WordPress (mostly as an exercise to see how much work it w …
Helping Improve a Good Thing
Posted August 26th, 2007 at 10:54 pm PDT by S. Brent Faulkner
A couple of posts ago I talked a bit about SimpleHighlight. Today, I beat up the code a bit to support setting a couple of options for each c …
SimpleNav plugin for SimpleLog
Posted August 25th, 2007 at 9:00 pm PDT by S. Brent Faulkner — 2 comments
SimpleNav SimpleNav is a mixin for the ActionController class and an accompanying Site helper that provide an easy way to add navigation lin …
Code it and they will run
Posted August 22nd, 2007 at 10:05 pm PDT by S. Brent Faulkner
My apologies to W. P. Kinsella (if indeed he is responsible for the original phrase)... Well, I was digging around through the SimpleLog for …
She canna go any faster, Captain
Posted August 21st, 2007 at 9:21 pm PDT by S. Brent Faulkner
Well, after all my frustration at past attempts to run Ruby on Rails applications on HostMonster, it finally came time to get my blog up and …
