Monthly Archives: July 2007

Don’t forget the return value on Rails callbacks

This morning I spent a good while hashing on a problem in some new code I’m updating for a freelance project. I added a couple callbacks to an ActiveRecord model, and things that previously worked were broken. Unfortunately there were no errors in the model or exceptions in the system to give me [...]

The writing process

Nate wrote an excellent post on the writing process over at The Scrawl blog. Just a great insight into what goes into a good bout of flash fiction. Check it out, and check out Scrawlers. That place has been booming lately.

Technorati Tags: writing workshop, writing process, creative writing

Pole Position!

It leaves skid marks on your soul!

Stubbing objects in Radiant

On a recent Radiant customization project, I needed to write some tests for a front-end extension. One situation called for a stub object, so I built out the pathing and created the stub object as I’m used to doing in Rails. In extensions/extension_name/test/mocks/test I created a some_mailer.rb object to mock a mailer model, [...]

Songs in my library that start with “nothing”

“Nothin’ Song” by Alice in Chains

“Nothing” by Phish

“Nothing” by Nikka Costa

“Nothing Even Matters” by Lauryn Hill

“Nothing Gets Crossed Out” by Bright Eyes

“Nothing I Haven’t Seen” by Beck

“Nothing Much Happens” by The Bens

“Nothingman” by Pearl Jam

“Nothingwrong” by Jimmy Eat World

Technorati Tags: music

The stuff of childhood nightmares

Hope this doesn’t bring any back for you.

Redirecting a subdomain to a URL at Slicehost

With Dreamhost as my web host, I had gotten in the habit of using subdomain redirects to create convenient URL’s, both for users and myself. So to get to the Scrawlers blog one could enter “blog.scrawlers.com” in one’s web browser. For my own convenience, I’d typically have a subdomain to redirect to the [...]

Transferring your “cached” WordPress blog

This weekend I mostly wrapped up the process of transferring Scrawlers from Dreamhost to Slicehost. Dreamhost just is not appropriate for a Ruby on Rails application, and so moves Scrawlers.

The process has not been easy. I had gotten the WordPress blog integrated with Rails. It was all upgraded and ready for vendor [...]

A favorite Pearl Jam performance

I’m only a casual Pearl Jam fan, but I love this performance. The cold delivery of the last 30 seconds really gets me.

Two bathing in the sink

Two really enjoyed the sink bath on a recent mini-vacation. The mirrors were captivating.