Skip to content
This repository
Browse code

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...
commit 561e642242e8ab03cdad04a680663277dc8b95c3 1 parent b2e2830
Ryan Ong authored September 24, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/rack_session_access/middleware.rb
2  lib/rack_session_access/middleware.rb
@@ -65,7 +65,7 @@ def edit(request)
65 65
           :enctype => 'application/x-www-form-urlencoded'
66 66
         }) do |xml|
67 67
           xml.input(:type => 'hidden', :name =>'_method', :value => 'put')
68  
-          xml.textarea("", :cols => 40, :rows => 10, :name => 'data')
  68
+          xml.textarea(:cols => 40, :rows => 10, :name => 'data') {}
69 69
           xml.p do |xml|
70 70
             xml.input(:type => 'submit', :value => "Update")
71 71
           end

0 notes on commit 561e642

Please sign in to comment.
Something went wrong with that request. Please try again.