Make sure Field#escaped_value also works when @value is an Array on 1.9

This commit is contained in:
Michael Fellinger 2009-06-07 16:45:19 +09:00
parent 9134b09b87
commit 48a4ec905e

View File

@ -134,7 +134,7 @@ module Webrat
end end
def escaped_value def escaped_value
CGI.escape(@value.to_s) CGI.escape([*@value].first.to_s)
end end
def labels def labels