<?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>Shaun Ambrose &#187; how to</title>
	<atom:link href="http://www.shaunambrose.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shaunambrose.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 01 Apr 2012 04:21:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How I learned 208 Hiragana and Katakana characters in 30 days</title>
		<link>http://www.shaunambrose.com/2012/02/20/how-i-learned-208-hiragana-and-katakana-characters-in-30-days/</link>
		<comments>http://www.shaunambrose.com/2012/02/20/how-i-learned-208-hiragana-and-katakana-characters-in-30-days/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 22:04:04 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Random Stuff]]></category>
		<category><![CDATA[hiragana]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[japanese]]></category>
		<category><![CDATA[katakana]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=714</guid>
		<description><![CDATA[I know how to read and write all 208 Hiragana and Katakana characters, which I learned in a months time. Here are some tools and techniques that worked for me. Tools First, I used the Kana-a-Day Practice Pad and a series of flash cards with the stroke on the front and how to pronounce the [...]]]></description>
			<content:encoded><![CDATA[<p>I know how to read and write all 208 Hiragana and Katakana characters, which I learned in a months time. Here are some tools and techniques that worked for me.<br />
<span id="more-714"></span></p>
<h3>Tools</h3>
<p>First, I used the <a href="http://www.amazon.com/Kana-Day-Practice-Tuttle-Pads/dp/0804835470/">Kana-a-Day Practice Pad</a> and a series of flash cards with the stroke on the front and how to pronounce the character on the back (I couldn&#8217;t find a link to the specific ones I used). I checked out some websites too, but ultimately those were the two tools that I stuck with for the last 30 days.</p>
<p><a href="http://www.shaunambrose.com/wp-content/uploads/2012/02/kana-a-day.jpg"><img src="http://www.shaunambrose.com/wp-content/uploads/2012/02/kana-a-day.jpg" alt="" title="My Kana-a-Day pad" width="535" class="alignnone size-full wp-image-721" /></a><br clear="all" /></p>
<h3>Starting Out and How I did it in 30 Days</h3>
<p>I remember the first Hiragana character I did in the practice pad, あ. I practiced that first one about seventy times. At first, it felt so awkward and difficult to write, but I did it. And at the end of the day, it felt very satisfying to have just learned one character since I had always been very intimidated about learning kana (and kanji), it always looked so hard to learn to me. But hey, I just learned one! That was a good feeling. I only did one character the first day and it felt great! The next day I did two characters. Then the following day, I also did two characters. After that I realized if I kept at this pace, learning one or two a day, it would take me half a year just to learn all of them! So, I started doing five per day to learn the initial 46 characters, then I would do six, nine, ten or twelve per day for the modified/combined characters depending upon how much time I had and how ambitious I was feeling. It took me 16 days to learn all 104 Hiragana, then I basically repeated the same thing for the Katakana, learning five per day for initial 46 characters, then doing a half a dozen or more after that. Once I got momentum going those first several days, it made it easier to stick with it. I think taking it slow those first couple of days helped me build confidence too.</p>
<h3>Repetition, Forgetting and Remembering</h3>
<p>When I was learning the kana, I would practice them in the Kana-a-Day pad. But then throughout the day I would write the characters I learned in multiple places: I would write them on the white board in my office, I would write them on the marker board on the refrigerator, I would use a dry erase marker to write them on the mirror in the bathroom and I would practice them on sticky notes. Throughout the day, I would forget the characters I had learned, but forgetting them and then remembering them again, seemed to make me remember them better. I would use the flash cards at random times throughout the day too. I think spreading out the learning worked better for me vs. trying to do them all at once and cramming them in my brain. I would spend several minutes in the morning learning a new batch of characters and then throughout the day it would only take a minute or two to practice/review them all. I would always try to review the ones I already learned and the ones I just learned too. And then if I forgot one, I would just look how to do it and then that would make it easier to remember for the next time. So, I think the first key that worked for me was forgetting them and then remembering them throughout the day. And learning/practicing them in multiple sessions throughout the day vs. just doing one session.</p>
<h3>Mnemonic Devices</h3>
<p>The other method I used was trying to find mnemonic devices for the characters. I found it easy for some of the characters, but for others it didn&#8217;t really work. Like an obvious one is the Katakana character for shi: シ, so I think, she&#8217;s smiling (or smirking). Or for the Hiragana characters, ku: く, I remember &#8220;less than&#8221; which helps me remember the next character, ke: け, which I think of writing &#8220;lt&#8221; (for less than). Anyway, this helped me learn some of them, but for others I just had to learn them without a mnemonic device.</p>
<h3>Summary</h3>
<p>I know these tools and techniques won&#8217;t work for everyone, as everyone learns differently. But hopefully there&#8217;s something in here of value to someone out there. In summary I just took it slow for this first few days which built up my confidence. Writing the kana in different environments seemed to help. Practicing and reviewing them at random intervals throughout the day seemed to help too. And creating mnemonic devises and stories for each character made it funner and easier to remember.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2012/02/20/how-i-learned-208-hiragana-and-katakana-characters-in-30-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install gems without documentation by default</title>
		<link>http://www.shaunambrose.com/2011/10/24/how-to-install-gems-without-documentation-by-default/</link>
		<comments>http://www.shaunambrose.com/2011/10/24/how-to-install-gems-without-documentation-by-default/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 18:18:11 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=609</guid>
		<description><![CDATA[Here&#8217;s a quick tip I learned this weekend on how to get all your RubyGems installed without documentation by default. I knew there was a way to prevent documentation from being installed at the command line with the &#8211;no-rdoc &#8211;no-ri options: $ gem install rails --no-rdoc --no-ri But there&#8217;s another way to prevent documentation from [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick tip I learned this weekend on how to get all your RubyGems installed without documentation by default.<br />
<span id="more-609"></span><br />
I knew there was a way to prevent documentation from being installed at the command line with the &#8211;no-rdoc &#8211;no-ri options:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">$ gem install rails --no-rdoc --no-ri</pre></div></div>

<p>But there&#8217;s another way to prevent documentation from being installed. Create a .gemrc file in your home directory with the following:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">gem: --no-ri --no-rdoc</pre></div></div>

<p>Now you don&#8217;t have to worry about supplying the command line options, this will give you no documentation by default.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2011/10/24/how-to-install-gems-without-documentation-by-default/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DIY egonomic grip handles</title>
		<link>http://www.shaunambrose.com/2011/10/21/diy-egonomic-grip-handles/</link>
		<comments>http://www.shaunambrose.com/2011/10/21/diy-egonomic-grip-handles/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 22:05:39 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Around the House]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=580</guid>
		<description><![CDATA[Last week I got a great deal on a pair of grass shears, $.50 at an estate sale. They look old and neglected, but they&#8217;re very well constructed and work great, they have a very fluid motion and are still quite sharp. But the handles on them were a bit small and uncomfortable, being constructed [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I got a great deal on a pair of grass shears, $.50 at an estate sale. They look old and neglected, but they&#8217;re very well constructed and work great, they have a very fluid motion and are still quite sharp. But the handles on them were a bit small and uncomfortable, being constructed of just steal. So, I attempted to make my own more ergonomic handles.<br />
<span id="more-580"></span><br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2011/10/original.jpg" alt="" title="Original handles" width="535" height="355" class="alignnone size-full wp-image-586" /><br />
</p>
<p>First I wrapped the handles with some old telephone cord to give them more girth.<br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2011/10/wrapping.handle.jpg" alt="" title="Wrapping the handle with telephone cord" width="535" height="355" class="alignnone size-full wp-image-582" /><br />
</p>
<p>On the bottom handle, I used some smaller cord for finger grips. I also secured the cords with duct tape.<br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2011/10/finger.grips_.jpg" alt="" title="Making finger grips on the bottom handle" width="535" height="355" class="alignnone size-full wp-image-581" /><br />
</p>
<p>Finally, I dipped the handles in <a href="http://www.plastidip.com/">Plasti Dip</a> to give them a nice rubbery grip. Notice how the bottom handle has a slight curve to it.<br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2011/10/finished.grip_.jpg" alt="" title="Finished grop" width="535" height="355" class="alignnone size-full wp-image-584" /><br />
</p>
<p>My grass shears still look old and worn, but they work solidly and the handles are very plush and comfortable. In hindsight, I probably wouldn&#8217;t have wrapped the handles with duct tape as this made them somewhat lumpy after I plasti-dipped them. Also, I probably would have picked the red Plasti Dip, the black one is a bit dull to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2011/10/21/diy-egonomic-grip-handles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xubuntu dual taskbars: display only relevant windows</title>
		<link>http://www.shaunambrose.com/2011/10/20/xubuntu-dual-taskbars-display-only-relevant-windows/</link>
		<comments>http://www.shaunambrose.com/2011/10/20/xubuntu-dual-taskbars-display-only-relevant-windows/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 18:33:00 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=576</guid>
		<description><![CDATA[If you&#8217;re like me and running Xubuntu with dual monitors. And like to have dual taskbars (panels) on each monitor. Here&#8217;s how to display only the open applications in each taskbar for each monitor. First, add the Window Buttons to each taskbar, right-click on your panel: Panel &#8211;> Add New Items &#8211;> Window Buttons After [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and running Xubuntu with dual monitors. And like to have dual taskbars (panels) on each monitor. Here&#8217;s how to display only the open applications in each taskbar for each monitor.<br />
<span id="more-576"></span></p>
<p>First, add the Window Buttons to each taskbar, right-click on your panel:</p>
<p><strong>Panel &#8211;> Add New Items &#8211;> Window Buttons</strong></p>
<p>After this, right-click on each Window Buttons item in the taskbar (panel) and click Properties. You&#8217;ll find the option in there:</p>
<p><strong>Un-check the option: Show windows from all monitors</strong></p>
<p>(Another useful property to be aware of is Sorting order: None, allow drag-and-drop. This will let you drag your windows around in the taskbar around, but then you lose the default sorting, too bad you can&#8217;t have the best of both worlds.)<br />
</p>
<p>Took me a while to figure this one out, hopefully it will save someone some time or save me some time if I have to do it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2011/10/20/xubuntu-dual-taskbars-display-only-relevant-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: How to use unless in Ruby</title>
		<link>http://www.shaunambrose.com/2011/04/22/quick-tip-how-to-use-unless-in-ruby/</link>
		<comments>http://www.shaunambrose.com/2011/04/22/quick-tip-how-to-use-unless-in-ruby/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 21:44:14 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=531</guid>
		<description><![CDATA[Unless is a backwards if in Ruby. For the longest time I had a hard time wrapping my head around using it instead of just using not if, which I&#8217;ve always been used to. But, if you want to be apart of the Ruby culture, you need to learn how to use unless, here&#8217;s my [...]]]></description>
			<content:encoded><![CDATA[<p><em>Unless</em> is a backwards <em>if</em> in Ruby. For the longest time I had a hard time wrapping my head around using it instead of just using <em>not if</em>, which I&#8217;ve always been used to. But, if you want to be apart of the Ruby culture, you need to learn how to use <em>unless</em>, here&#8217;s my simple technique on how I learned to use it.<br />
<span id="more-531"></span><br />
When I first started using <em>unless</em>, I just translated it (in my mind) with the dictionary definition: except on the condition that. You can even shorten the translation to: except if. Once I did this, reading and using <em>unless</em> made more sense to me.</p>
<p>Example:</p>
<pre>
<code>messages.delete('twitter') unless user.twitter_username</code>
</pre>
<p>Using the translation, this Ruby code would read as: delete twitter messages except if the user has a twitter username.</p>
<p>Using and reading <em>unless</em> in Ruby was like Greek to me when I first saw it, but now that my brain automatically makes the association/translation for me, using it has become second nature.</p>
<p>Hopefully this technique will help someone else struggling to use <em>unless</em> in Ruby.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2011/04/22/quick-tip-how-to-use-unless-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to delete a custom workspace in Adobe Fireworks</title>
		<link>http://www.shaunambrose.com/2011/02/07/how-to-delete-a-custom-workspace-in-adobe-fireworks/</link>
		<comments>http://www.shaunambrose.com/2011/02/07/how-to-delete-a-custom-workspace-in-adobe-fireworks/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 17:50:54 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=524</guid>
		<description><![CDATA[If you want to remove a remove custom workspace from Fireworks, there is no interface to do so, you have to do it manually. Just delete the corresponding .jsp and .xml files associated with the workspace you want to remove from the following locations. If you&#8217;re using Windows XP, delete the associated files from: C:\Documents [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to remove a remove custom workspace from Fireworks, there is no interface to do so, you have to do it manually.<br />
<span id="more-524"></span><br />
Just delete the corresponding .jsp and .xml files associated with the workspace you want to remove from the following locations.</p>
<p>If you&#8217;re using Windows XP, delete the associated files from:</p>
<pre>
<code>
C:\Documents and Settings\~username\Application Data\Adobe\Fireworks CS5\ ..
Commands\Workspace Layouts\</code></pre>
<p>If you&#8217;re using Windows 7, the files can be found at:</p>
<pre>
<code>
C:\Users\~username\AppData\Roaming\Adobe\Fireworks CS5\Commands\ ..
Workspace Layouts\</code></pre>
<p>If you&#8217;re using a Mac the associated files are located at:</p>
<pre>
<code>
~username/Library/Application Support/Adobe/Fireworks CS5/Commands/ ..
Workspace Layouts/</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2011/02/07/how-to-delete-a-custom-workspace-in-adobe-fireworks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to setup dual taskbars in Ubuntu</title>
		<link>http://www.shaunambrose.com/2010/10/11/how-to-setup-dual-taskbars-in-ubuntu/</link>
		<comments>http://www.shaunambrose.com/2010/10/11/how-to-setup-dual-taskbars-in-ubuntu/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 16:15:29 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=453</guid>
		<description><![CDATA[If you&#8217;re running Ubuntu with dual monitors and want an additional taskbar on your secondary monitor, here&#8217;s how you can do it. I tested this on Ubuntu 10.10. Right click on one of your existing taskbars and select New Panel. Right click on the new panel (taskbar) that got created and select Properties. Un-check Expand [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Ubuntu with dual monitors and want an additional taskbar on your secondary monitor, here&#8217;s how you can do it.<br />
<span id="more-453"></span><br />
I tested this on Ubuntu 10.10.</p>
<ul>
<li>Right click on one of your <em>existing</em> taskbars and select <strong>New Panel</strong>.</li>
<li>Right click on the <em>new</em> panel (taskbar) that got created and select <strong>Properties</strong>.</li>
<li>Un-check <strong>Expand</strong> (keep the Panel Properties open).</li>
<li>Drag the new panel to your secondary monitor.</li>
<li>In the Panel Properties window, change the <strong>Orientation</strong> to <strong>Bottom</strong> (or whatever you want).</li>
<li>Re-check <strong>Expand</strong>.</li>
<li>Then click <strong>Close</strong> to exit.</li>
</ul>
<p>This will get you a secondary taskbar. Now you can customize it. One thing I like to do is add a window list to the secondary taskbar so you can see which applications are open on each monitor.</p>
<ul>
<li>Right click on the new taskbar and select <strong>Add to Panel&#8230;</strong></li>
<li>Select and Add <strong>Window List</strong>.</li>
</ul>
<p>That should be it, just keep customizing your new taskbar until you&#8217;re happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2010/10/11/how-to-setup-dual-taskbars-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to create a virtual directory in Apache</title>
		<link>http://www.shaunambrose.com/2010/10/01/how-to-create-a-virtual-directory-in-apache/</link>
		<comments>http://www.shaunambrose.com/2010/10/01/how-to-create-a-virtual-directory-in-apache/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 22:45:10 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=443</guid>
		<description><![CDATA[Suppose you&#8217;re working on your local machine. You&#8217;re running Apache/PHP or an all-on-one package like XAMPP. You have a bunch of websites, but you don&#8217;t want to store them all under Apache&#8217;s webroot. Maybe some of your websites use PHP and you want to test them locally in your browser. Here&#8217;s how to map a [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you&#8217;re working on your local machine. You&#8217;re running Apache/PHP or an all-on-one package like XAMPP. You have a bunch of websites, but you don&#8217;t want to store them all under Apache&#8217;s webroot. Maybe some of your websites use PHP and you want to test them locally in your browser.</p>
<p>Here&#8217;s how to map a directory so you can access it via Apache without it being in the webroot.<br />
<span id="more-443"></span><br />
Add this to your httpd.conf file:</p>
<pre>
<code>
&lt;IfModule alias_module&gt;
  Alias /myphpsite/ "D:/websites/myphpsite/"

  &lt;Directory "D:/websites/myphpsite/"&gt;
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride all
    Order allow,deny
    Allow from all
  &lt;/Directory&gt;
&lt;/IfModule&gt;
</code></pre>
<p>Just update &#8220;myphpsite&#8221; with your own alias and update &#8220;D:/websites/myphpsite/&#8221; with the drive/directory of the actual site. I tested this using Apache2.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2010/10/01/how-to-create-a-virtual-directory-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix a “sqlite3.dll missing” error message in Ruby on Rails</title>
		<link>http://www.shaunambrose.com/2010/08/05/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails/</link>
		<comments>http://www.shaunambrose.com/2010/08/05/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 20:10:35 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=433</guid>
		<description><![CDATA[Here&#8217;s a little reminder for myself on how I fixed the &#8220;sqlite3.dll missing&#8221; error message I was getting while setting up a new Ruby on Rails environment. First, I downloaded the latest SQlite3 DLL. (I grabbed the DLL of the SQLite library without the TCL bindings.) Then, I exracted the .dll and .def files to [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little reminder for myself on how I fixed the &#8220;sqlite3.dll missing&#8221; error message I was getting while setting up a new Ruby on Rails environment.<br />
<span id="more-433"></span></p>
<p>First, I downloaded the latest <a href="http://www.sqlite.org/download.html">SQlite3 DLL.</a> (I grabbed the DLL of the SQLite library without the TCL bindings.)</p>
<p>Then, I exracted the .dll and .def files to my C:\ruby\bin directory and that fixed my issue. (You&#8217;ll might have to restart your console session.) </p>
<p>These steps will also fix this error message:<br />
&#8220;The procedure entry point sqlite3_column_database_name could not be located in the dynamic link library sqlite3.dll.&#8221;</p>
<p>Hope this helps someone else running into the same issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2010/08/05/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>How to create migrations in Ruby on Rails that only run in the development enviroment</title>
		<link>http://www.shaunambrose.com/2010/02/13/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment/</link>
		<comments>http://www.shaunambrose.com/2010/02/13/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 06:52:17 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=371</guid>
		<description><![CDATA[This is a reminder for myself for when I want to use a migration to create test data for the development environment only. I thought it would be as easy as using the environment variable ENV['RAILS_ENV'] in the migration to see which environment you&#8217;re in, but this doesn&#8217;t work. After a little searching, it is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a reminder for myself for when I want to use a migration to create test data for the development environment only.<br />
<span id="more-371"></span><br />
I thought it would be as easy as using the environment variable <strong>ENV['RAILS_ENV']</strong> in the migration to see which environment you&#8217;re in, but this doesn&#8217;t work. After a little searching, it is as easy as I thought; you just have to use the constant <strong>RAILS_ENV</strong>. So, your migration would look something like this:</p>
<pre><code>
def self.up
  if RAILS_ENV == 'development'
    # set all of your test data for development...
  end
end
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/2010/02/13/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

