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 22m
Duration
35,891
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month