Evan Weaver

reinventing the bug-smashing wheel


almost 11 years ago by Evan Weaver on Snax.
Somehow it is every web developer’s doom to write an issue tracker. For example: Defectr, yKAP, eTraxis, BUGS, BugNet, Porchlight, Malone, Arctic...

how to make a cerberus post-commit hook actually work


almost 11 years ago by Evan Weaver on Snax.
I don’t use Cerberus, the continuous integration system, but my boy Chris Wanstrath does. He was trying to add a post-commit Subversion hook so that...

audit your gems


almost 11 years ago by Evan Weaver on Snax.
Gems don’t have to be trustworthy: $ sudo gem list --remote malice *** REMOTE GEMS *** malice (13) malice, a small, malicious library We...

add gud spelning to ur railz app or wharever


almost 11 years ago by Evan Weaver on Snax.
I cleaned up the raspell gem a little bit and put it on Rubyforge. It’s a Ruby interface to the GNU Aspell spellcheck library: >> load 'spell.rb...

dependency injection for rails models


over 10 years ago by Evan Weaver on Snax.
The polymorphs plugin dynamically injects methods into child models. This means that if you referenced a child model before the parent was loaded, the methods...

dumb multi-file find and replace


over 10 years ago by Evan Weaver on Snax.
Hey, here’s a pretty weak script I coughed up to do multi-file find and replace on your Ruby source: ~/bin/rreplace#!/usr/bin/env ruby puts "Not...

i thought about this thing...


over 10 years ago by Evan Weaver on Snax.
A small blog digest for you. dependency troubles Rails’ dependency loading in development mode has been making me unhappy. There are existing...

stop, drop, and avoid exception_notification message floods


over 10 years ago by Evan Weaver on Snax.
You’re using Jamis’s excellent ExceptionNotification plugin for Rails. But sometimes you get flooded with identical exceptions. This is a pain...

bleak_house


over 10 years ago by Evan Weaver on Snax. [Linked from: High Earth Orbit, Ruby Inside, Scott's Place]
I was such a shy little thing that I seldom dared to open my lips, and never dared to open my heart, to anybody else. - Bleak House It’s bleak...

tap sux


~10 years ago by Evan Weaver on Snax.
Hey, so Ruby trunk has a tap method. It takes a block but always returns self, so that you can chain ! methods. You save memory by modifying yourself in-place...