unwwwritten
26 posts
gem dependencies for plugins
Posted February 1st, 2010 at 1:54 pm EST by S. Brent Faulkner
another short and simple tip... you're writing a plugin for rails and want to specify the gem dependencies in the plugin itself (rather than …
cucumber/webrat and utf-8
Posted November 11th, 2009 at 11:51 am EST by S. Brent Faulkner
If you are having a problem selecting an option on a form in cucumber/webrat and the option happens to contain foreign characters...DOH! Make …
note to self... rotate your logs
Posted September 22nd, 2009 at 11:07 pm EDT by S. Brent Faulkner
Stumbled upon this simple recipe for rotating rails logs when working with passenger. Saving it here for reference.this is it... /home/deplo …
an object at rest stays at rest
Posted September 18th, 2009 at 11:46 am EDT by S. Brent Faulkner
I think this is kinda nice. Say you want to use filters and sort orders with a restful controller using something like... /posts/by/created …
misguided neatness
Posted February 23rd, 2009 at 4:58 pm EST by S. Brent Faulkner
A minor complaint to get things going again... Why is it that programmers feel the need to line a series of assignments up in columns? 1 …
The chairman of the bored
Posted October 30th, 2008 at 2:49 pm EDT 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 5:20 am EDT 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 5:54 am EDT 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 2:50 pm EDT 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 2:51 am EDT 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 8:10 am EDT 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 3:27 am EDT 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 3:05 pm EDT 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 2:58 am EDT 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 7th, 2007 at 8:24 pm EST 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 10:53 am EST 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 7:00 pm EDT 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 12:27 pm EDT 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 5:08 am EDT 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 7:27 pm EDT 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 7:01 am EDT 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 11:17 am EDT 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 6:54 pm EDT 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 5:00 pm EDT 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 6:05 pm EDT 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 5:21 pm EDT 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 …
