Permalink
Browse files

fix for builder > 3.0.1

new builder does not accept empty strings to create an empty tag.
It will automatically turn it into a self closing tag.
  • Loading branch information...
ryanong committed Sep 24, 2012
1 parent b2e2830 commit 561e642242e8ab03cdad04a680663277dc8b95c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack_session_access/middleware.rb
@@ -65,7 +65,7 @@ def edit(request)
:enctype => 'application/x-www-form-urlencoded'
}) do |xml|
xml.input(:type => 'hidden', :name =>'_method', :value => 'put')
- xml.textarea("", :cols => 40, :rows => 10, :name => 'data')
+ xml.textarea(:cols => 40, :rows => 10, :name => 'data') {}
xml.p do |xml|
xml.input(:type => 'submit', :value => "Update")
end

0 comments on commit 561e642

Please sign in to comment.