Permalink
Browse files

no need to check for this constant

  • Loading branch information...
1 parent f3595b5 commit dafc3c7a066f9dc3a2a157b1294ba414e2e2e7b4 @fxn fxn committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/serializers/xml_serializer.rb
@@ -163,7 +163,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 dafc3c7

Please sign in to comment.