diff options
author | Xavier Noria <fxn@hashref.com> | 2012-02-07 21:20:35 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-02-07 21:20:54 +0100 |
commit | dafc3c7a066f9dc3a2a157b1294ba414e2e2e7b4 (patch) | |
tree | d6fdc7163082b35df7074de40a4e326fd1bb8263 /activerecord | |
parent | f3595b5924c5d6245fb97c1ce13b3400ca11b1c8 (diff) | |
download | rails-dafc3c7a066f9dc3a2a157b1294ba414e2e2e7b4.tar.gz rails-dafc3c7a066f9dc3a2a157b1294ba414e2e2e7b4.tar.bz2 rails-dafc3c7a066f9dc3a2a157b1294ba414e2e2e7b4.zip |
no need to check for this constant
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/serializers/xml_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/serializers/xml_serializer.rb b/activerecord/lib/active_record/serializers/xml_serializer.rb index 55338a1ffd..e7f653ec84 100644 --- a/activerecord/lib/active_record/serializers/xml_serializer.rb +++ b/activerecord/lib/active_record/serializers/xml_serializer.rb @@ -163,7 +163,7 @@ module ActiveRecord #:nodoc: # # 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] |