If course the code itself isn't racist.
This is besides the point.
The core team, by their refusal to act and expel this guy, enable him and give him a platform.
Not only does he also post about programming on the same blog his disgusting racist tirades are on, he keeps keynoting at Rails conferences.
@francis Oh yeah, that hurts my brain. I want to talk about it, but I also don't want to signal boost it at all so I'm gonna leave it right where it is: in the stupid half of the Internet.