<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sam Pierson&#039;s Blog &#187; railscast</title>
	<atom:link href="http://sampierson.com/blog/tag/railscast/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ActionController::Base.helpers proxy</title>
		<link>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/</link>
		<comments>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 16:08:07 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[railscast]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=283</guid>
		<description><![CDATA[Tidbit from RailsCast 132:
ActionController::Base.helpers is a proxy object you can use to access Rails view helpers, outside of views, e.g.:


1
ActionController::Base.helpers.pulralize(products.count, 'product')

]]></description>
			<content:encoded><![CDATA[<p>Tidbit from <a href="http://railscasts.com/episodes/132-helpers-outside-views">RailsCast 132</a>:</p>
<p>ActionController::Base.helpers is a proxy object you can use to access Rails view helpers, outside of views, e.g.:<br />
<br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">ActionController::Base.helpers.pulralize(products.count, 'product')</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/tidbits/actioncontrollerbasehelpers-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>helper_method</title>
		<link>http://sampierson.com/blog/software-development/helper_method/</link>
		<comments>http://sampierson.com/blog/software-development/helper_method/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 17:21:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Tidbits]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[railscast]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=212</guid>
		<description><![CDATA[Railscast 20 reminded me that

helper_method :name

makes controller method name available in views.
]]></description>
			<content:encoded><![CDATA[<p>Railscast 20 reminded me that</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">helper_method <span style="color:#ff3333; font-weight:bold;">:name</span></pre></div></div>

<p>makes controller method <em>name</em> available in views.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/software-development/helper_method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
