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
1 changed files with 1 additions and 1 deletions

View File

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