aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-07 21:20:35 +0100
committerXavier Noria <fxn@hashref.com>2012-02-07 21:20:35 +0100
commitd3f0f92501998682d438c387723e8560e3d76899 (patch)
treea80b232cd80958ae878c97743dcce159cddda894 /activerecord
parent12c3b3d65738eccb7b7a043b2a8a1ba65a46d34e (diff)
downloadrails-d3f0f92501998682d438c387723e8560e3d76899.tar.gz
rails-d3f0f92501998682d438c387723e8560e3d76899.tar.bz2
rails-d3f0f92501998682d438c387723e8560e3d76899.zip
no need to check for this constant
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/serializers/xml_serializer.rb2
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]