This project is archived and is in readonly mode.

#2698 ✓invalid

Add :margin option to XmlSerializer

Reported by blythe | May 22nd, 2009 @ 06:44 PM

When building custom XML with XmlSerializer (for ActiveRecord) its nice to be able to use the margin option of XMLBuilder rather than reformatting the string output or instantiating a builder.

builder = options[:builder] ||= => options[:indent], :margin => options[:margin])

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>