Beginning with Rails 3.1, class_inheritable_accessor produces deprecation warnings, telling me to use class_attribute instead. But class_attribut
class_inheritable_accessor
class_attribute
class_attribut
class_attribute won't pollute its parent if it's used as intended. Make sure you're not changing the mutable items in-place.
types_and_classes.keys.each do |t| self.presented = presented.merge({t => types_and_classes[t]}) end