Monthly Archives: August 2008

Class.new and .inherited()

In Ruby, the typical way to define a class is using the class keyword: class Foo # … end The class keyword, however, is effectively just syntax sugar for the Class constructor: Foo = Class.new # … end Using Class.new … Continue reading

Posted in Ruby | Tagged | 5 Comments

Switching to Disqus

I’ve been pretty unsatisfied with the default WordPress commenting system for a number of reasons. And I’ve received several complaints about the way OpenID was being handled in comments. I’ve switched the comments over to being managed by “Disqus”:http://disqus.com. Hopefully … Continue reading

Posted in Uncategorized | 2 Comments

Always something new

After 5-6+ years of working with Ruby, I am still periodically reminded of features I’d forgotten about. Today it was the fact that you can override the backtick operator: >> def `(cmd) >> puts “Do you really want to #{cmd}?” … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

The Trifecta of FAIL; or, how to patch Rails 2.0 for Ruby 1.8.7

It’s an oft-stated fact that most disasters result not from a single point of failure but from a combination of failures reinforcing each other. I wouldn’t term the problem I ran into last Friday a disaster, but it certainly cost … Continue reading

Posted in Rails, Rants, Ruby | Tagged , , , , , | 18 Comments

Contact Info Survey

Loading…

Posted in Uncategorized | Leave a comment