Re: malformed XML

Robert Walker
Wed, 19 Aug 2009 19:39:19 -0000

Tim wrote:
> Hey all,
>
> rails 2.1
>
...
> Any ideas on why the discrepancy and perhaps a fix for the controller
> bit?

Odd. I just tried this out of curiosity in Rails 2.3.3 and it worked as
expected:

<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>Title can''t be bland</error>
</errors>

A Rails 2.1 bug possibly??
--
Posted via http://www.ruby-forum.com/.