<?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: Use Rails&#8217; RESTful Helpers in Rake Tasks</title>
	<atom:link href="http://www.treyconnell.com/rails-restful-helpers-rake-tasks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.treyconnell.com/rails-restful-helpers-rake-tasks/</link>
	<description>sunny on the outside. monsoon in the middle.</description>
	<lastBuildDate>Tue, 17 Jan 2012 01:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Jan</title>
		<link>http://www.treyconnell.com/rails-restful-helpers-rake-tasks/comment-page-1/#comment-7531</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 29 Jun 2010 15:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.treyconnell.com/?p=1147#comment-7531</guid>
		<description>Trey, 

I came over the same problem some minutes ago. Great timesaver, so thx for that. But question, why do you put the host into url_helper? 

I&#039;d suggest to use Ryan Bates &quot;APP_CONFIG&quot; approach so that your xml generator should look like:

xml.loc(APP_CONFIG[:domain] + article_path(article))

No matter if you are in development, test or production the right domain is used. 

Regards
Jan</description>
		<content:encoded><![CDATA[<p>Trey, </p>
<p>I came over the same problem some minutes ago. Great timesaver, so thx for that. But question, why do you put the host into url_helper? </p>
<p>I&#8217;d suggest to use Ryan Bates &#8220;APP_CONFIG&#8221; approach so that your xml generator should look like:</p>
<p>xml.loc(APP_CONFIG[:domain] + article_path(article))</p>
<p>No matter if you are in development, test or production the right domain is used. </p>
<p>Regards<br />
Jan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

