Permalink
Browse files

no need to check for this constant

  • Loading branch information...
1 parent 12c3b3d commit d3f0f92501998682d438c387723e8560e3d76899 @fxn fxn committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/serializers/xml_serializer.rb
@@ -162,7 +162,7 @@ module Serialization
#
# class IHaveMyOwnXML < ActiveRecord::Base
# def to_xml(options = {})
- # require 'builder' unless defined? ::Builder
+ # require 'builder'
# options[:indent] ||= 2
# xml = options[:builder] ||= ::Builder::XmlMarkup.new(:indent => options[:indent])
# xml.instruct! unless options[:skip_instruct]

0 comments on commit d3f0f92

Please sign in to comment.