Skip navigation

Moved XML serialization to Gem

Moved XML serialization to Gem: Ruby on Rails 5 New Features
Moved XML serialization to Gem: Ruby on Rails 5 New Features

XML Serialization has been moved to a RubyGem in Ruby on Rails 5. XML serialization includes ActiveModel::Serializers::Xml, ActiveRecord::Serialization::XmlSerializer, and the #to_xml method. Previously, developers could call #to_xml on an ActiveRecord object and Rails would create XML based on the attributes of the object. Developers who continue to need this functionality can add the RubyGem activemodel-serializers-xml to their Gemfile to restore this feature.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 21m
Duration
25,270
Views
Show More Show Less
Skills covered in this course
Developer Web Web Development Ruby on Rails

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now