Forum: Typo errors with latest typo blog v 6.0.9

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5f400e38a8ed574db5f5afa60f373470?d=identicon&s=25 Hh Hh (henry74)
on 2011-09-27 02:13
(Received via mailing list)
I downloaded the latest version and attempted to upgrade from 6.0.4.
I've tried it on both 1.8.7 and 1.9.2 and I've gotten similar but
different errors related to YAML.  See below:

Ruby 1.8.7

ActionView::Template::Error (undefined method `empty?' for
#<YAML::PrivateType:0xb5cf2118 @value="", @type_id="null">):
    1: <% if article.password.nil? or article.password.empty? %>
    2:   <%= render 'articles/article_content', { :article => article }
%>
    3: <% else %>
    4:   <%= render 'articles/password_form', { :article => article } %>
  app/views/articles/_protected_article_content.html.erb:1:in
`_app_views_articles__protected_article_content_html_erb___984258178__622293848_3709598'
  app/controllers/articles_controller.rb:211:in `render_paginated_index'
  app/controllers/articles_controller.rb:38:in `index'
  app/controllers/articles_controller.rb:37:in `index'


Ruby 1.9.2


ActionView::Template::Error (undefined method `empty?' for
#<Syck::PrivateType:0xbe42f18 @type_id="null", @value="">):
    1: <% if article.password.nil? or article.password.empty? %>
    2:   <%= render 'articles/article_content', { :article => article }
%>
    3: <% else %>
    4:   <%= render 'articles/password_form', { :article => article } %>
  app/views/articles/_protected_article_content.html.erb:1:in
`_app_views_articles__protected_article_content_html_erb__815734403_99983130_96183190'
  app/controllers/articles_controller.rb:211:in `render_paginated_index'
  app/controllers/articles_controller.rb:38:in `block (2 levels) in
index'
  app/controllers/articles_controller.rb:37:in `index'


Thoughts?
8f6b8e99f52f0928287b01a006950f52?d=identicon&s=25 Matijs van Zuijlen (mvz)
on 2011-09-29 10:43
(Received via mailing list)
Hi,

Just FYI, this has now been entered as an issue on GitHub:

https://github.com/fdv/typo/issues/48

Regards,
Matijs
This topic is locked and can not be replied to.