use class_attribute instead of class_inheritable_accessor (rails 3.0+ only)