<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>databasically // Kansas City Small Business IT &#38;&#38; Ruby on Rails Programming &#187; Ruby</title>
	<atom:link href="http://databasically.com/category/blog/programming/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://databasically.com</link>
	<description>Kansas City Small Business IT</description>
	<lastBuildDate>Tue, 20 Jul 2010 21:35:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Kansas City Ruby Users: Luke Pillow on Jeweler</title>
		<link>http://databasically.com/2010/03/13/kansas-city-ruby-users-luke-pillow-on-jeweler/</link>
		<comments>http://databasically.com/2010/03/13/kansas-city-ruby-users-luke-pillow-on-jeweler/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 18:56:29 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=308</guid>
		<description><![CDATA[Luke Pillow present to the Kansas City Ruby Users Group on Jeweler and Gemcutter rubygems.org.
Also, Luke is helping to organize the Ruby Midwest conference, so you should check that out.


Kansas City Ruby Users Group &#124; March 2010 &#124; Luke Pillow &#124; Jeweler for Rubygems &#124; kcrug.org from Wes Garrison on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/lpillow">Luke Pillow</a> present to the Kansas City Ruby Users Group on Jeweler and <span style="text-decoration: line-through;">Gemcutter</span> rubygems.org.</p>
<p>Also, Luke is helping to organize the <a href="http://rubymidwest.com/">Ruby Midwest</a> conference, so you should check that out.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=10138426&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=10138426&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>
</p>
<p><a href="http://vimeo.com/10138426">Kansas City Ruby Users Group | March 2010 | Luke Pillow | Jeweler for Rubygems | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/13/kansas-city-ruby-users-luke-pillow-on-jeweler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City Ruby Users: Ryan Smith on Heroku</title>
		<link>http://databasically.com/2010/03/12/kansas-city-ruby-user-group-ryan-smith-on-heroku/</link>
		<comments>http://databasically.com/2010/03/12/kansas-city-ruby-user-group-ryan-smith-on-heroku/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 05:11:04 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=266</guid>
		<description><![CDATA[Ryan Smith presents to the Kansas City Ruby Users Group on Heroku: why it&#8217;s wonderful for deploying Ruby on Rails applications, how to set up a new application and deploy it to Heroku in minutes, and how to use Heroku add-ons to support search.


Kansas City Ruby Users Group &#124; March 2010 &#124; Ryan Smith &#124; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/ryandotsmith">Ryan Smith</a> presents to the Kansas City Ruby Users Group on <a href="http://heroku.com/">Heroku</a>: why it&#8217;s wonderful for deploying Ruby on Rails applications, how to set up a new application and deploy it to Heroku in minutes, and how to use Heroku add-ons to support search.</p>
<div style="text-align: center;padding-top:35px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=10104580&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=10104580&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
</div>
<p><a href="http://vimeo.com/10104580">Kansas City Ruby Users Group | March 2010 | Ryan Smith | Heroku | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/12/kansas-city-ruby-user-group-ryan-smith-on-heroku/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing sqlite headers on ubuntu (sqlite3.h not found)</title>
		<link>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/</link>
		<comments>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:21:47 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://databasically.com/?p=251</guid>
		<description><![CDATA[I was setting up Integrity for the first time and ran into this on my server when bundling gems:
~$ bundle install
...
Installing do_sqlite3 (0.10.0) from rubygems repository at
  http://gemcutter.org/ with native extensions
  /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:482:in
  `build_extensions':
ERROR: Failed to build gem native extension.
  (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
*** extconf.rb failed ***
...

The key is the line: [...]]]></description>
			<content:encoded><![CDATA[<p>I was setting up <a href="http://integrityapp.com/">Integrity</a> for the first time and ran into this on my server when bundling gems:</p>
<pre name="code" class="ruby">~$ bundle install
...
Installing do_sqlite3 (0.10.0) from rubygems repository at
  http://gemcutter.org/ with native extensions
  /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:482:in
  `build_extensions':
ERROR: Failed to build gem native extension.
  (Gem::Installer::ExtensionBuildError)

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
*** extconf.rb failed ***
...
</pre>
<p>The key is the line: <code>checking for sqlite3.h... no</code><br />
The <code>do_sqlite3</code> gem gets compiled natively, but the development headers weren&#8217;t installed on the system and so the compilation won&#8217;t work.</p>
<p>Install them:</p>
<pre name="code" class="ruby">~$ sudo apt-get install sqlite3
~$ sudo apt-get install libsqlite3-dev</pre>
<p>Then, re-bundle:</p>
<pre name="code" class="ruby">~$ bundle install</pre>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/03/05/installing-sqlite-headers-on-ubuntu-sqlite3-h-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City Ruby User Group: Kyle J Ginavan on Progressive Enhancement</title>
		<link>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/</link>
		<comments>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:30:59 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=186</guid>
		<description><![CDATA[Presentation: Kyle Ginivan on Progressive Enhancement
Progressive enhancement is a strategy for web  design that emphasizes accessibility, semantic markup, and external  stylesheet and scripting technologies. Progressive enhancement uses web  technologies in a layered fashion that allows everyone to access the  basic content and functionality of a web page, using any browser or [...]]]></description>
			<content:encoded><![CDATA[<p>Presentation: <a href="http://twitter.com/kylejginavan">Kyle Ginivan</a> on Progressive Enhancement</p>
<blockquote><p><strong>Progressive enhancement</strong> is a strategy for web  design that emphasizes accessibility, semantic markup, and external  stylesheet and scripting technologies. Progressive enhancement uses web  technologies in a layered fashion that allows everyone to access the  basic content and functionality of a web page, using any browser or  Internet connection, while also providing those with better bandwidth or  more advanced browser software an enhanced version of the page.<br />
<span id="more-186"></span><br />
<a href="http://en.wikipedia.org/wiki/Progressive_enhancement">http://en.wikipedia.org/wiki/Progressive_enhancement</a></p></blockquote>
<div style="text-align:center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="281" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="281" src="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>></div>
<p><a href="http://vimeo.com/9403827">Kansas City Ruby Users Group | February 2010 | Kyle J. Ginavan | Progressive Enhancement | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<h3>Resources:</h3>
<p>Nicole Sullivan on Object Oriented CSS</p>
<ul>
<li>Slides: <a href="http://www.slideshare.net/stubbornella/object-oriented-css" target="_blank">http://www.slideshare.net/stubbornella/object-oriented-css</a></li>
<li>Code: <a href="http://wiki.github.com/stubbornella/oocss/" target="_blank">http://wiki.github.com/stubbornella/oocss/</a></li>
</ul>
<p>Other articles:</p>
<ul>
<li>A List Apart: <a href="http://www.alistapart.com/articles/understandingprogressiveenhancement/">Understanding Progressive Enhancement</a></li>
<li>Wikipedia: <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">Progressive Enhancement</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/02/12/kansas-city-ruby-user-group-kyle-j-ginavan-on-progressive-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kansas City Ruby User Group: Shashank Date on Blocks, Procs, and Lambdas</title>
		<link>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/</link>
		<comments>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 16:29:06 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Kansas City Ruby User Group]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=189</guid>
		<description><![CDATA[
Kansas City Ruby Users Group &#124; February 2010 &#124; Kyle J. Ginavan &#124; Progressive Enhancement &#124; kcrug.org from Wes Garrison on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p><object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9403827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>
<p><a href="http://vimeo.com/9403827">Kansas City Ruby Users Group | February 2010 | Kyle J. Ginavan | Progressive Enhancement | kcrug.org</a> from <a href="http://vimeo.com/wesgarrison">Wes Garrison</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2010/01/15/kansas-city-ruby-user-group-shashank-date-on-blocks-procs-and-lambdas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing a stuck POP mailbox with Ruby Net::Telnet</title>
		<link>http://databasically.com/2009/05/18/clearing-a-stuck-pop-mailbox-with-ruby-nettelnet/</link>
		<comments>http://databasically.com/2009/05/18/clearing-a-stuck-pop-mailbox-with-ruby-nettelnet/#comments</comments>
		<pubDate>Tue, 19 May 2009 05:12:57 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=114</guid>
		<description><![CDATA[A client&#8217;s mailbox was full. Outlook tried to download all messages before deleting them, and I don&#8217;t know a setting to make it retrieve/delete a set number.

So, knowing that you can telnet to a POP server, I wrote up a little ruby script to delete the first 1000 messages without bothering to retrieve them.
require 'net/telnet'

pop [...]]]></description>
			<content:encoded><![CDATA[<p>A client&#8217;s mailbox was full. Outlook tried to download all messages before deleting them, and I don&#8217;t know a setting to make it retrieve/delete a set number.<br />
<span id="more-114"></span><br />
So, knowing that you can telnet to a POP server, I wrote up a little ruby script to delete the first 1000 messages without bothering to retrieve them.</p>
<pre class="ruby" name="code">require 'net/telnet'

pop = Net::Telnet::new("Host" =&gt; "pop.server.com",
  "Port" =&gt; 110,
  "Telnetmode" =&gt; false,
  "Timeout"    =&gt; false,
  "Prompt" =&gt; /^\+OK/n)
pop.cmd("user " + "name@domain.com") { |c| print c }
pop.cmd("pass " + "P@ssword") { |c| print c }
pop.cmd("stat") { |c| print c }
1.upto(1000) do |i|
  pop.cmd("dele #{i}")
  puts i if 0 == i % 100
end
pop.cmd("stat") { |c| print c }

pop.cmd("quit") { |c| print c }</pre>
<p>Here&#8217;s the output:</p>
<pre class="ruby" name="code">+OK hello from popgate 2.43 on pop.server.com
+OK password required.
+OK maildrop ready, 50139 messages (1474122084 octets) (1477758478)
100
200
300
400
500
600
700
800
900
1000
+OK message 1000 marked deleted
+OK 49139 1462508238</pre>
<p>I put the STAT lines in there so I could see how many messages were there at the start and finish of the script running.</p>
<p>The Ruby POP3 library has a delete_all(), but the last day or so of mail hadn&#8217;t been retrieved at all, so I couldn&#8217;t just nuke the mailbox and start over.  I only needed to clear some space so that I could connect normally (and set the client to delete-on-retrieve).  You could mimic that by parsing the STAT response for the number of messages. I leave that as an exercise to the reader.</p>
<p>I made some more tweaks after writing this post and added support for growl:</p>
<pre class="ruby" name="code">system "growlnotify -m '#{i} of 1000 deleted'
 -d popdelete" if 0 == i % 25</pre>
<p>That way I could just watch the growl window in the corner to see how it was doing.  The <i>-d</i> flag groups the notifications so that I didn&#8217;t get a separate notification window for each message; the new message updates the previous notification window.</p>
<p>When I was searching for a solution before writing my own, I looked for &#8220;pop delete all&#8221; and &#8220;pop clear&#8221; and &#8220;pop commands&#8221; and &#8220;pop command delete all&#8221;.  Hope that helps someone else find this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2009/05/18/clearing-a-stuck-pop-mailbox-with-ruby-nettelnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RubyGems error on update: undefined local variable or method `remote_gemspecs&#039;</title>
		<link>http://databasically.com/2008/11/23/rubygems-error-on-update-undefined-local-variable-or-method-remote_gemspecs/</link>
		<comments>http://databasically.com/2008/11/23/rubygems-error-on-update-undefined-local-variable-or-method-remote_gemspecs/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 04:49:39 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=67</guid>
		<description><![CDATA[I updated rubygems:
&#62;sudo gem update --system
Password:
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.1
ERROR:  While executing gem ... (NameError)
    undefined local variable or method `remote_gemspecs' for
   #&#60;gem ::Commands::UpdateCommand:0x14df818&#62;
&#8230; but received this error:
undefined local variable or method `remote_gemspecs'
Reading the release notes prompted me to install the rubygems-update gem separately:
&#62;sudo gem install rubygems-update
Successfully installed rubygems-update-1.3.1
Finally, [...]]]></description>
			<content:encoded><![CDATA[<p>I updated rubygems:</p>
<pre class="ruby">&gt;sudo gem update --system
Password:
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.1
ERROR:  While executing gem ... (NameError)
    undefined local variable or method `remote_gemspecs' for
   #&lt;gem ::Commands::UpdateCommand:0x14df818&gt;</pre>
<p>&#8230; but received this error:</p>
<pre class="ruby">undefined local variable or method `remote_gemspecs'</pre>
<p>Reading the release notes prompted me to install the rubygems-update gem separately:</p>
<pre class="ruby">&gt;sudo gem install rubygems-update
Successfully installed rubygems-update-1.3.1</pre>
<p>Finally, run the update_rubygems command to actually update:</p>
<pre class="ruby">&gt;sudo update_rubygems
Installing RubyGems 1.3.1
mkdir -p /usr/local/lib/ruby/site_ruby/1.8
mkdir -p /usr/local/bin
install -c -m 0644 rbconfig/datadir.rb /usr/local/lib/ruby/site_ruby/1.8/rbconfig/datadir.rb
.... more installation

&gt; gem -v
1.3.1</pre>
<p>Finally!</p>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2008/11/23/rubygems-error-on-update-undefined-local-variable-or-method-remote_gemspecs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rake list tasks</title>
		<link>http://databasically.com/2008/08/03/rake-list-tasks/</link>
		<comments>http://databasically.com/2008/08/03/rake-list-tasks/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 05:37:53 +0000</pubDate>
		<dc:creator>Wes</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rake]]></category>

		<guid isPermaLink="false">http://www.databasically.com/?p=10</guid>
		<description><![CDATA[I can never remember the exact name of a rake task, so I use this all the time:
&#62; rake -T
You can also filter the list of tasks that&#8217;s shown. For instance, if you only want to see the database tasks:
&#62; rake -T db
The -T option is handy when you just need to remember the exact [...]]]></description>
			<content:encoded><![CDATA[<p>I can never remember the exact name of a rake task, so I use this all the time:</p>
<pre class="ruby">&gt; rake -T</pre>
<p>You can also filter the list of tasks that&#8217;s shown. For instance, if you only want to see the database tasks:</p>
<pre class="ruby">&gt; rake -T db</pre>
<p>The -T option is handy when you just need to remember the exact wording.  It&#8217;s not so handy when you&#8217;re trying to figure out what the rake task list description is.  For that, use -D:</p>
<pre class="ruby">&gt; rake -D
....
rake test:units
    Run tests for units / Run the unit tests in test/unit
....
</pre>
<p>The output is longer, but you can see the full description. You can also filter by the task name to limit the output so you don&#8217;t have to scroll through the full list of tasks.</p>
<p>On Rails 2.1.0, here&#8217;s the full <code>rake -T</code> output:</p>
<pre class="ruby">rake db:abort_if_pending_migrations  # Raises an error if there are pending...
rake db:charset                      # Retrieves the charset for the curren...
rake db:collation                    # Retrieves the collation for the curr...
rake db:create                       # Create the database defined in confi...
rake db:create:all                   # Create all the local databases defin...
rake db:drop                         # Drops the database for the current R...
rake db:drop:all                     # Drops all the local databases define...
rake db:fixtures:identify            # Search for a fixture given a LABEL o...
rake db:fixtures:load                # Load fixtures into the current envir...
rake db:migrate                      # Migrate the database through scripts...
rake db:migrate:redo                 # Rollbacks the database one migration...
rake db:migrate:reset                # Resets your database using your migr...
rake db:reset                        # Drops and recreates the database fro...
rake db:rollback                     # Rolls the schema back to the previou...
rake db:schema:dump                  # Create a db/schema.rb file that can ...
rake db:schema:load                  # Load a schema.rb file into the database
rake db:sessions:clear               # Clear the sessions table
rake db:sessions:create              # Creates a sessions migration for use...
rake db:shell                        # Launches the database shell using th...
rake db:structure:dump               # Dump the database structure to a SQL...
rake db:test:clone                   # Recreate the test database from the ...
rake db:test:clone_structure         # Recreate the test databases from the...
rake db:test:prepare                 # Prepare the test database and load t...
rake db:test:purge                   # Empty the test database
rake db:version                      # Retrieves the current schema version...
rake doc:app                         # Build the app HTML Files
rake doc:clobber_app                 # Remove rdoc products
rake doc:clobber_plugins             # Remove plugin documentation
rake doc:clobber_rails               # Remove rdoc products
rake doc:plugins                     # Generate documentation for all insta...
rake doc:rails                       # Build the rails HTML Files
rake doc:reapp                       # Force a rebuild of the RDOC files
rake doc:rerails                     # Force a rebuild of the RDOC files
rake log:clear                       # Truncates all *.log files in log/ to...
rake notes                           # Enumerate all annotations
rake notes:fixme                     # Enumerate all FIXME annotations
rake notes:optimize                  # Enumerate all OPTIMIZE annotations
rake notes:todo                      # Enumerate all TODO annotations
rake rails:freeze:edge               # Lock to latest Edge Rails or a speci...
rake rails:freeze:gems               # Lock this application to the current...
rake rails:unfreeze                  # Unlock this application from freeze ...
rake rails:update                    # Update both configs, scripts and pub...
rake rails:update:configs            # Update config/boot.rb from your curr...
rake rails:update:javascripts        # Update your javascripts from your cu...
rake rails:update:scripts            # Add new scripts to the application s...
rake routes                          # Print out all defined routes in matc...
rake secret                          # Generate a crytographically secure s...
rake stats                           # Report code statistics (KLOCs, etc) ...
rake test                            # Test all units and functionals
rake test:functionals                # Run tests for functionalsdb:test:pre...
rake test:integration                # Run tests for integrationdb:test:pre...
rake test:plugins                    # Run tests for pluginsenvironment / R...
rake test:recent                     # Run tests for recentdb:test:prepare ...
rake test:uncommitted                # Run tests for uncommitteddb:test:pre...
rake test:units                      # Run tests for unitsdb:test:prepare /...
rake tmp:cache:clear                 # Clears all files and directories in ...
rake tmp:clear                       # Clear session, cache, and socket fil...
rake tmp:create                      # Creates tmp directories for sessions...
rake tmp:pids:clear                  # Clears all files in tmp/pids
rake tmp:sessions:clear              # Clears all files in tmp/sessions
rake tmp:sockets:clear               # Clears all files in tmp/sockets</pre>
]]></content:encoded>
			<wfw:commentRss>http://databasically.com/2008/08/03/rake-list-tasks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
