<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>kyleheon.com: Upgraded to Typo r865</title>
    <link>http://www.kyleheon.com/articles/2006/02/22/upgraded-to-typo-r865</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Random musings about anything and everything...</description>
    <item>
      <title>Upgraded to Typo r865</title>
      <description>&lt;p&gt;It had been awhile since I last updated my installed version of &lt;a href="http://www.typosphere.org"&gt;Typo&lt;/a&gt; so I finally took the plunge and did so tonight. It didn&amp;#8217;t quite go as well as I&amp;#8217;d hoped but in the end I think I actually learned a few things.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Still working through issues. Noticed that Textile markup is no longer being interpretted. I&amp;#8217;m working to get this issue resolved.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Fixed&lt;/strong&gt;: After many nights of troubleshooting and repeated pleas on the Typo mailing list I have finally fixed the issues with Textile markup not being rendered properly.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m not sure on the exact issue but it seems to have been tied to a couple things. One might have been a banged up migration (probably my fault). Somehow the body_html column&amp;#8217;s content lost all html formatting.&lt;/p&gt;


	&lt;p&gt;To fix this I opened up a script/console session and did the following:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="ident"&gt;articles&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="constant"&gt;Article&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;find&lt;/span&gt;&lt;span class="punct"&gt;(&lt;/span&gt;&lt;span class="symbol"&gt;:all&lt;/span&gt;&lt;span class="punct"&gt;)&lt;/span&gt;
&lt;span class="ident"&gt;articles&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;each&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; &lt;span class="punct"&gt;|&lt;/span&gt;&lt;span class="ident"&gt;a&lt;/span&gt;&lt;span class="punct"&gt;|&lt;/span&gt;
  &lt;span class="ident"&gt;a&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;body_html&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="constant"&gt;nil&lt;/span&gt;
  &lt;span class="ident"&gt;a&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;save&lt;/span&gt;
&lt;span class="keyword"&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;What this did was reset the body_html columns. I then was able to hard refresh the site (running via Webrick in development mode). What this seems to do is force Typo to regenerate the body_html data, this time correctly formatted.&lt;/p&gt;


	&lt;p&gt;This was the first time I&amp;#8217;d played with script/console. Very cool tool, nice to have for debugging and quick (and not so quick) hotfixes.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Feb 2006 21:08:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:8f8fce4f-c6c5-4f97-ba9c-5dfd7756cedd</guid>
      <author>Kyle Heon</author>
      <link>http://www.kyleheon.com/articles/2006/02/22/upgraded-to-typo-r865</link>
      <category>Development</category>
      <category>Miscellaneous</category>
    </item>
  </channel>
</rss>
