<?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: Using link_to (or other helper methods) in a controller</title>
	<atom:link href="http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/</link>
	<description>Logical Reality Design: Web Design and Software Development</description>
	<lastBuildDate>Tue, 20 Dec 2011 19:03:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jake Moffatt</title>
		<link>http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/comment-page-1/#comment-19173</link>
		<dc:creator>Jake Moffatt</dc:creator>
		<pubDate>Mon, 07 Feb 2011 23:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=57#comment-19173</guid>
		<description>OR this which I just found: 

@content_for_navbar = render_to_string :partial =&gt; &quot;layouts/public_navbar&quot;</description>
		<content:encoded><![CDATA[<p>OR this which I just found: </p>
<p>@content_for_navbar = render_to_string :partial =&gt; &#8220;layouts/public_navbar&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Moffatt</title>
		<link>http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/comment-page-1/#comment-19171</link>
		<dc:creator>Jake Moffatt</dc:creator>
		<pubDate>Mon, 07 Feb 2011 23:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=57#comment-19171</guid>
		<description>Why not render a partial which uses the helper into a string variable?

result = render :some_partial, :locals =&gt; { :something =&gt; @something }</description>
		<content:encoded><![CDATA[<p>Why not render a partial which uses the helper into a string variable?</p>
<p>result = render :some_partial, :locals =&gt; { :something =&gt; @something }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff King</title>
		<link>http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/comment-page-1/#comment-11991</link>
		<dc:creator>Jeff King</dc:creator>
		<pubDate>Fri, 19 Feb 2010 04:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=57#comment-11991</guid>
		<description>or... you could just handroll the HTML:

&lt;code&gt;&lt;a href=&#039;#{alert_post(@post)}&#039;&gt;View post&lt;/a&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>or&#8230; you could just handroll the HTML:</p>
<p><code>&lt;a href='#{alert_post(@post)}'&gt;View post&lt;/a&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Lacey</title>
		<link>http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/comment-page-1/#comment-6235</link>
		<dc:creator>Rob Lacey</dc:creator>
		<pubDate>Fri, 10 Jul 2009 15:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=57#comment-6235</guid>
		<description>Your solution to the problem faield because there are two methods called url_for, in ActionView::Helpers::UrlHelper and one that is included in ActionController::Base. frustrating that they don&#039;t behave in exactly the same way.</description>
		<content:encoded><![CDATA[<p>Your solution to the problem faield because there are two methods called url_for, in ActionView::Helpers::UrlHelper and one that is included in ActionController::Base. frustrating that they don&#8217;t behave in exactly the same way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

