#279 new
Fergus

Webrat 0.5: Cannot fillin multi-line value to textarea

Reported by Fergus | August 15th, 2009 @ 02:31 AM

The Webrat::Field#escaped_value only returns the first line. I have to use the following to workaround:

module Webrat
class TextareaField < Field #:nodoc:

protected

def escaped_value
  CGI.escape(@value)
end

end end

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

Tags

Pages