Do you mind using a constant instead of a class variable?  Class vars are weird in ruby, and I think it's generally good to avoid them because of their gotchas.  A constant would work just as well.