<?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: creating a custom rake task</title>
	<atom:link href="http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/</link>
	<description>Sarah Allen's reflections on internet software and other topics</description>
	<lastBuildDate>Sun, 08 Jan 2012 16:57:41 -0800</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sarah</title>
		<link>http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/comment-page-1/#comment-2625</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Tue, 22 Nov 2011 17:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultrasaurus.com/?p=2236#comment-2625</guid>
		<description>:task_name =&gt; :environment will load the Rails environment, which will allow you to access things like your ActiveRecord models or Rails config.  Without that you can just run pure Ruby code.</description>
		<content:encoded><![CDATA[<p>:task_name => :environment will load the Rails environment, which will allow you to access things like your ActiveRecord models or Rails config.  Without that you can just run pure Ruby code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aravind</title>
		<link>http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/comment-page-1/#comment-2624</link>
		<dc:creator>Aravind</dc:creator>
		<pubDate>Tue, 22 Nov 2011 15:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultrasaurus.com/?p=2236#comment-2624</guid>
		<description>Thank you for your post...

Could you tell me the significance of :environment in :task_name =&gt; :environment. what happens if i vomit this :environment ?</description>
		<content:encoded><![CDATA[<p>Thank you for your post&#8230;</p>
<p>Could you tell me the significance of :environment in :task_name =&gt; :environment. what happens if i vomit this :environment ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SSCirrus</title>
		<link>http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/comment-page-1/#comment-2502</link>
		<dc:creator>SSCirrus</dc:creator>
		<pubDate>Tue, 02 Aug 2011 06:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultrasaurus.com/?p=2236#comment-2502</guid>
		<description>This is a very helpful post, thank you for writing it! 

Are there any significant updates to the above methodology you are aware of for Rails 3?</description>
		<content:encoded><![CDATA[<p>This is a very helpful post, thank you for writing it! </p>
<p>Are there any significant updates to the above methodology you are aware of for Rails 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.ultrasaurus.com/sarahblog/2009/12/creating-a-custom-rake-task/comment-page-1/#comment-1130</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Sun, 20 Dec 2009 19:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultrasaurus.com/?p=2236#comment-1130</guid>
		<description>If you want your greet task to appear when you do &#039;rake -T&#039; you need to add a description.

Also  if you envision doing &#039;rake gems:install&#039; at any point to you should move &#039;require faker&#039; into the body of a task. Otherwise if you run &#039;rake gems:install&#039; without faker installed, rake will fail. Here you could put it as the first line of your &#039;fake_people&#039; task but you could also create a &#039;require_faker&#039; task that did the require and was a dependency of &#039;require_people&#039;.</description>
		<content:encoded><![CDATA[<p>If you want your greet task to appear when you do &#8216;rake -T&#8217; you need to add a description.</p>
<p>Also  if you envision doing &#8216;rake gems:install&#8217; at any point to you should move &#8216;require faker&#8217; into the body of a task. Otherwise if you run &#8216;rake gems:install&#8217; without faker installed, rake will fail. Here you could put it as the first line of your &#8216;fake_people&#8217; task but you could also create a &#8216;require_faker&#8217; task that did the require and was a dependency of &#8216;require_people&#8217;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

