Forum: Ruby on Rails action cache plugin, bad yaml?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ross Karchner (Guest)
on 2006-04-10 02:07
(Received via mailing list)
Is there anyone out there using this plugin in production:

it seems to occasionally generate bad YAML, which makes the cached page

Here is what happens when I try to parse it from the console:

 >> YAML.load open('tmp/')
ArgumentError: syntax error on line 318, col 249: `  <span
class=\"articletext\">...There\xE2\x80\x99s an interesting article over
at AMERICAblog which states that not only is Bush determined to go to
war with Iran, it is also considering the use of nuclear weapons in that
war. Let\xE2\x80\x99'
         from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
         from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
         from (irb):2

Similar errors are in production.log. If I remove the cache files,
everything works fine again.

This topic is locked and can not be replied to.