Posts tagged typo
Posts tagged typo
I wanted to take a minute to apologize to those of you who might have had problems viewing the website during the past couple of days. Over the weekend I decided to upgrade Typo to the latest working copy in order to get the bug fixes that allow it to correctly run on the 1.1.2 version of Rails.
What I didn’t realize was that as of changeset 1022 the API for the Sidebar superclass had been largely re-factored. The update is a welcome abstraction away from the component method, but I didn’t pick up on the fact that this change was causing Application Errors until early this morning. To solve the problem, I had to change one line in my Scribbish theme’s default.rhtml layout file. The offending line is:
<%= render_component(:controller => “sidebars/sidebar”, :action => “display_plugins”) %>
and needs to be changed to:
<%= render_sidebars %>
Like I said, this change is actually a good one; I just wish I had seen the problem a bit sooner. I turns out that even though I had seen a couple of Application Errors this weekend, they weren’t occurring on a regular enough basis to make me think there was a problem with the code. I believe the reason why I wasn’t seeing the errors all the time was due to either Firefox or lighttpd caching my requests. The clue that finally tipped me off into looking at the problem more closely was actually the fact that my Mint stats were lower than they had been in a long while. ;-)
Sorry again for the problems.