<?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: Ruby on Rails: Accessing Controller Methods from Your View</title>
	<atom:link href="http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/feed/" rel="self" type="application/rss+xml" />
	<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/</link>
	<description>Building Careers by Building Skills</description>
	<lastBuildDate>Thu, 17 Jun 2010 07:42:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jason</title>
		<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/comment-page-1/#comment-2658</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 14 Jun 2010 11:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=296#comment-2658</guid>
		<description>but if you put into helper, you can&#039;t access to request object.</description>
		<content:encoded><![CDATA[<p>but if you put into helper, you can&#8217;t access to request object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/comment-page-1/#comment-1893</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 27 Jan 2010 09:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=296#comment-1893</guid>
		<description>Leon has clearly got the cleanest solution.
All your helper methods are available in your views already, but if you need to declare some methods in the controller as helper_methods, this works beautifully.</description>
		<content:encoded><![CDATA[<p>Leon has clearly got the cleanest solution.<br />
All your helper methods are available in your views already, but if you need to declare some methods in the controller as helper_methods, this works beautifully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ennuyer.net &#187; Blog Archive &#187; Rails Reading backlog</title>
		<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/comment-page-1/#comment-1220</link>
		<dc:creator>Ennuyer.net &#187; Blog Archive &#187; Rails Reading backlog</dc:creator>
		<pubDate>Sat, 11 Jul 2009 09:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=296#comment-1220</guid>
		<description>[...]  Ruby on Rails: Accessing Controller Methods from Your View  [...]</description>
		<content:encoded><![CDATA[<p>[...]  Ruby on Rails: Accessing Controller Methods from Your View  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/comment-page-1/#comment-1219</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Sat, 11 Jul 2009 00:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=296#comment-1219</guid>
		<description>Can you just do this?

helper_method :public_method_name

This makes your controller method a helper method as well.</description>
		<content:encoded><![CDATA[<p>Can you just do this?</p>
<p>helper_method :public_method_name</p>
<p>This makes your controller method a helper method as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Weiskotten</title>
		<link>http://charlesmaxwood.com/ruby-on-rails-accessing-controller-methods-from-your-view/comment-page-1/#comment-1218</link>
		<dc:creator>Jeremy Weiskotten</dc:creator>
		<pubDate>Fri, 10 Jul 2009 21:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=296#comment-1218</guid>
		<description>A better way, IMO, is to call #helper_method in your controller to declare any methods as &quot;helpers&quot; for use in views:

helper_method :my_helper</description>
		<content:encoded><![CDATA[<p>A better way, IMO, is to call #helper_method in your controller to declare any methods as &#8220;helpers&#8221; for use in views:</p>
<p>helper_method :my_helper</p>
]]></content:encoded>
	</item>
</channel>
</rss>
