aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2009-08-09 13:10:14 +1200
committerMichael Koziarski <michael@koziarski.com>2009-08-09 13:10:14 +1200
commitb97d2933747767a1aeacb9594f3d376f5791fc3a (patch)
tree535bf879fbdae93ad623787b741a47db9a1c7799 /actionpack/lib
parent271baf235d6e197a6ecd25945c34df0385137764 (diff)
parent370bf1401af62c8589d557cd51b9533dd603c463 (diff)
downloadrails-b97d2933747767a1aeacb9594f3d376f5791fc3a.tar.gz
rails-b97d2933747767a1aeacb9594f3d376f5791fc3a.tar.bz2
rails-b97d2933747767a1aeacb9594f3d376f5791fc3a.zip
Merge branch 'patches'
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/atom_feed_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
index dc4497581c..9951e11a37 100644
--- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb
+++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -98,7 +98,7 @@ module ActionView
options[:schema_date] = "2005" # The Atom spec copyright date
end
- xml = options[:xml] || eval("xml", block.binding)
+ xml = options.delete(:xml) || eval("xml", block.binding)
xml.instruct!
if options[:instruct]
options[:instruct].each do |target,attrs|