Flowdock
method

add_tag

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::XmlSerializer
add_tag(attribute) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/serializers/xml_serializer.rb, line 213
    def add_tag(attribute)
      builder.tag!(
        dasherize? ? attribute.name.dasherize : attribute.name,
        attribute.value.to_s,
        attribute.decorations(!options[:skip_types])
      )
    end
Register or log in to add new notes.