Evan Weaver

resources for keeping up with ruby


almost 11 years ago by Evan Weaver on Snax.
Having trouble keeping up with the state of Ruby? Dynamic language police keep catching you ridin’ dirty? Here are some top-secret resources I use...

rv, a tool for luxurious camping


almost 11 years ago by Evan Weaver on Snax.
I’ve been using a little tool named rv for months now to robustly manage camping apps in deployment. It consists of an init.d script, a default mongrel...

ruby facets considered trashy?


almost 11 years ago by Evan Weaver on Snax.
Two methods, identical names, different behavior. This is why I am reluctant to use Facets. facets/core/enumerable From the RDoc, edited slightly...

camping and ruby-debug, bffs


almost 11 years ago by Evan Weaver on Snax.
Camping works with ruby-debug. I discovered this the other day. Breakpoints in camping! You can read more about ruby-debug on Kent Sibilev’s blog...

hacking activerecord's automatic timestamps


almost 11 years ago by Evan Weaver on Snax.
ActiveRecord’s automatic timestamping is handy. But what if we want some attributes to be exempt? For example, we might want to record the last...

a ruby eval bot for irc: kirby


almost 11 years ago by Evan Weaver on Snax.
Kirby bolts together _why’s tryruby interface with a minimal IRC listener, giving you a sandboxed irb-style read-eval-print loop. demo >> a = ...

growing up your acts_as_taggable


almost 11 years ago by Evan Weaver on Snax.
The acts_as_taggable plugin, although built-in to Rails, is basically deprecated. And the gem version is old and requires a separate join table for every...

daemons


almost 11 years ago by Evan Weaver on Snax.
Daemons is a nice gem for writing background processes. Just call Daemons.daemonize when you are ready to detach. warning Daemons likes to change...

kirby spies your svn


almost 11 years ago by Evan Weaver on Snax.
I added svn commit watching to Kirby. Add a repository url with the add_svn keyword. Kirby will poll more often when people are talking, less when the channel...

truth accessors in rails


almost 11 years ago by Evan Weaver on Snax.
It might be nice to be able to ask obj.variable? for any accessor-defined @variable. Aaron Pfeifer has a big solution with API changes (use battr instead...