<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Extend String to use ActionView&#8217;s Text Helpers</title>
	<atom:link href="http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/feed/" rel="self" type="application/rss+xml" />
	<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/</link>
	<description>%w{life code ruby}.map { &#124;i&#124; "#{i} is awesome" }</description>
	<lastBuildDate>Thu, 30 Jul 2009 05:07:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: grosser</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-152</link>
		<dc:creator>grosser</dc:creator>
		<pubDate>Sat, 30 May 2009 08:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-152</guid>
		<description>something like this (same result with only 7 LOC)

http://pragmatig.wordpress.com/2009/05/30/all-actionview-helpers-on-strings/</description>
		<content:encoded><![CDATA[<p>something like this (same result with only 7 LOC)</p>
<p><a href="http://pragmatig.wordpress.com/2009/05/30/all-actionview-helpers-on-strings/" rel="nofollow">http://pragmatig.wordpress.com/2009/05/30/all-actionview-helpers-on-strings/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grosser</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-151</link>
		<dc:creator>grosser</dc:creator>
		<pubDate>Sat, 30 May 2009 07:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-151</guid>
		<description>why not simply use ActionController::Base.helpers.strip_tags ?</description>
		<content:encoded><![CDATA[<p>why not simply use ActionController::Base.helpers.strip_tags ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morten</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-95</link>
		<dc:creator>Morten</dc:creator>
		<pubDate>Tue, 09 Dec 2008 14:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-95</guid>
		<description>Adding some search words, didn&#039;t find the post before I had figured out the solution:

ActionView::TemplateError undefined method white_list_sanitizer for TextHelperSingleton:Class</description>
		<content:encoded><![CDATA[<p>Adding some search words, didn&#8217;t find the post before I had figured out the solution:</p>
<p>ActionView::TemplateError undefined method white_list_sanitizer for TextHelperSingleton:Class</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kip</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-94</link>
		<dc:creator>Kip</dc:creator>
		<pubDate>Sat, 25 Oct 2008 07:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-94</guid>
		<description>With Rails 2.2 there&#039;s some refactoring in Sanitize Helper.  So to make it work, change the TextHelperSingleton to:

class TextHelperSingleton
  include Singleton
  include ActionView::Helpers::TextHelper
  include ActionView::Helpers::TagHelper #tag_options needed by auto_link
  include ActionView::Helpers::SanitizeHelper
  extend ActionView::Helpers::SanitizeHelper::ClassMethods # Required for rails 2.2
end

Cheers, --Kip</description>
		<content:encoded><![CDATA[<p>With Rails 2.2 there&#8217;s some refactoring in Sanitize Helper.  So to make it work, change the TextHelperSingleton to:</p>
<p>class TextHelperSingleton<br />
  include Singleton<br />
  include ActionView::Helpers::TextHelper<br />
  include ActionView::Helpers::TagHelper #tag_options needed by auto_link<br />
  include ActionView::Helpers::SanitizeHelper<br />
  extend ActionView::Helpers::SanitizeHelper::ClassMethods # Required for rails 2.2<br />
end</p>
<p>Cheers, &#8211;Kip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-93</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Sat, 20 Oct 2007 16:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-93</guid>
		<description>Edge Rails has moved things around. To maintain compatibility:
class TextHelperSingleton
Â Â ...
Â Â include ActionView::Helpers::SanitizeHelper #added
end
Till things change again.</description>
		<content:encoded><![CDATA[<p>Edge Rails has moved things around. To maintain compatibility:<br />
class TextHelperSingleton<br />
Â Â &#8230;<br />
Â Â include ActionView::Helpers::SanitizeHelper #added<br />
end<br />
Till things change again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matte</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-92</link>
		<dc:creator>Matte</dc:creator>
		<pubDate>Thu, 29 Mar 2007 13:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-92</guid>
		<description>Thanks for your solution!</description>
		<content:encoded><![CDATA[<p>Thanks for your solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhil Bansal</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-91</link>
		<dc:creator>Akhil Bansal</dc:creator>
		<pubDate>Wed, 11 Oct 2006 10:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-91</guid>
		<description>This is really very helpful.
Thanks Curt</description>
		<content:encoded><![CDATA[<p>This is really very helpful.<br />
Thanks Curt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-90</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Fri, 29 Sep 2006 08:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-90</guid>
		<description>Superb..</description>
		<content:encoded><![CDATA[<p>Superb..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://csummers.com/2006/08/07/extend-string-to-use-actionviews-text-helpers/comment-page-1/#comment-89</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 11 Aug 2006 00:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.csummers.org/index.php/2006/08/07/extend-string-to-use-actionviews-text-helpers/#comment-89</guid>
		<description>It&#039;s always felt ugly to me to have functions taking parameters, where they feel like they should be methods instead. So your example is nice :-)</description>
		<content:encoded><![CDATA[<p>It&#8217;s always felt ugly to me to have functions taking parameters, where they feel like they should be methods instead. So your example is nice <img src='http://csummers.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
