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:35 +0100 |
commit | d3f0f92501998682d438c387723e8560e3d76899 (patch) | |
tree | a80b232cd80958ae878c97743dcce159cddda894 | |
parent | 12c3b3d65738eccb7b7a043b2a8a1ba65a46d34e (diff) | |
download | rails-d3f0f92501998682d438c387723e8560e3d76899.tar.gz rails-d3f0f92501998682d438c387723e8560e3d76899.tar.bz2 rails-d3f0f92501998682d438c387723e8560e3d76899.zip |
no need to check for this constant
-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 bd4fe1b527..2e60521638 100644 --- a/activerecord/lib/active_record/serializers/xml_serializer.rb +++ b/activerecord/lib/active_record/serializers/xml_serializer.rb @@ -162,7 +162,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] |