<?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 for InfiniteCube</title>
	<atom:link href="http://www.infinitecube.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.infinitecube.com</link>
	<description>Practical code, practical advice...</description>
	<pubDate>Tue, 07 Sep 2010 05:34:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Writing a Simple Rake Task - Part 1 by JessicaSpupt</title>
		<link>http://www.infinitecube.com/?p=11&cpage=1#comment-537</link>
		<dc:creator>JessicaSpupt</dc:creator>
		<pubDate>Sun, 10 May 2009 23:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.infinitecube.com/?p=11#comment-537</guid>
		<description>Wow! Thank you! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink?</description>
		<content:encoded><![CDATA[<p>Wow! Thank you! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing a Simple Rake Task - Part 1 by text editors &#124; Digg hot tags</title>
		<link>http://www.infinitecube.com/?p=11&cpage=1#comment-124</link>
		<dc:creator>text editors &#124; Digg hot tags</dc:creator>
		<pubDate>Tue, 02 Dec 2008 20:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.infinitecube.com/?p=11#comment-124</guid>
		<description>[...] Vote  Writing a Simple Rake Task [...]</description>
		<content:encoded><![CDATA[<p>[...] Vote  Writing a Simple Rake Task [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fret Over the Team, Not the Product by RYErnest</title>
		<link>http://www.infinitecube.com/?p=8&cpage=1#comment-123</link>
		<dc:creator>RYErnest</dc:creator>
		<pubDate>Mon, 01 Dec 2008 09:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.infinitecube.com/?p=8#comment-123</guid>
		<description>Nice post u have here :D Added to my RSS reader</description>
		<content:encoded><![CDATA[<p>Nice post u have here <img src='http://www.infinitecube.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> Added to my RSS reader</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fret Over the Team, Not the Product by Michael</title>
		<link>http://www.infinitecube.com/?p=8&cpage=1#comment-82</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 13 Nov 2008 22:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.infinitecube.com/?p=8#comment-82</guid>
		<description>Amen brother. Lived that life in the past. I think as more people begin practicing things like multistage continuous integration, life will improve.</description>
		<content:encoded><![CDATA[<p>Amen brother. Lived that life in the past. I think as more people begin practicing things like multistage continuous integration, life will improve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing Restful Routes from the Console by Carlos Paramio</title>
		<link>http://www.infinitecube.com/?p=5&cpage=1#comment-4</link>
		<dc:creator>Carlos Paramio</dc:creator>
		<pubDate>Wed, 20 Aug 2008 08:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.infinitecube.com/?p=5#comment-4</guid>
		<description>You can use the ActionController::Integration::Session object that is available at the console with the name "app":

&lt;code&gt;
&#62;&#62; app.users_path
=&#62; "/users"
&lt;/code&gt;

Which is even better, because when you include ActionController::UrlWriter you aren't defining the host name, so you can't use route helpers that points to absolute URLs until you define it at default_url_options[:host]:

&lt;code&gt;
&#62;&#62; users_url
RuntimeError: Missing host to link to! Please provide :host parameter or set default_url_options[:host]
&#62;&#62; default_url_options[:host] = "example.com"
=&#62; "example.com"
webapp:development&#62; users_url
=&#62; "http://example.com/users"
&lt;/code&gt;

With the app object, the host name is automatically prepopulated to "www.example.com":

&lt;code&gt;
&#62;&#62; app.host
=&#62; "www.example.com"
&#62;&#62; app.users_url
=&#62; "http://www.example.com/users"
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>You can use the ActionController::Integration::Session object that is available at the console with the name &#8220;app&#8221;:</p>
<p><code><br />
&gt;&gt; app.users_path<br />
=&gt; "/users"<br />
</code></p>
<p>Which is even better, because when you include ActionController::UrlWriter you aren&#8217;t defining the host name, so you can&#8217;t use route helpers that points to absolute URLs until you define it at default_url_options[:host]:</p>
<p><code><br />
&gt;&gt; users_url<br />
RuntimeError: Missing host to link to! Please provide :host parameter or set default_url_options[:host]<br />
&gt;&gt; default_url_options[:host] = &#8220;example.com&#8221;<br />
=&gt; &#8220;example.com&#8221;<br />
webapp:development&gt; users_url<br />
=&gt; &#8220;http://example.com/users&#8221;<br />
</code></p>
<p>With the app object, the host name is automatically prepopulated to &#8220;www.example.com&#8221;:</p>
<p><code><br />
&gt;&gt; app.host<br />
=&gt; "www.example.com"<br />
&gt;&gt; app.users_url<br />
=&gt; "http://www.example.com/users"<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
