method

add_tag

rails latest stable - Class: ActiveRecord::XmlSerializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

add_tag(attribute)
public

No documentation available.

# File activerecord/lib/active_record/serializers/xml_serializer.rb, line 223
    def add_tag(attribute)
      builder.tag!(
        reformat_name(attribute.name),
        attribute.value.to_s,
        attribute.decorations(!options[:skip_types])
      )
    end