# File lib/patches/active_record/xml_attribute_serializer.rb, line 4 def compute_type_with_translations klass = @serializable.class if klass.translates? && klass.translated_attribute_names.include?(name.to_sym) :string else compute_type_without_translations end end