<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/3.3.1" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Tech Ramblings</title>
		<link>http://rtfm.ca/ramble/index.php?blog=4</link>
		<atom:link rel="self" type="application/rss+xml" href="http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2" />
		<description></description>
		<language>en-CA</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=3.3.1"/>
		<ttl>60</ttl>
				<item>
			<title>Windows 7, Rails 3.2 and Mysql2 0.3.11</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=windows-7-rails-3-2-and-mysql2-0-3-11&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Sun, 29 Apr 2012 07:40:41 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>
<category domain="alt">Rails</category>			<guid isPermaLink="false">96@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Its a bitch getting Windows, Rails and Mysql2 to play nice. Here are the steps that worked for me.&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Download from &lt;a href=&quot;http://rubyinstaller.org/downloads/&quot;&gt;rubyinstaller&lt;/a&gt;, Ruby 1.9.2-p290 and DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe&lt;/li&gt;
  &lt;li&gt;Install Ruby into C:\Ruby192&lt;/li&gt;
  &lt;li&gt;Install DevKit into C:\Devkit&lt;/li&gt;
  &lt;li&gt;&lt;p&gt;Change dir to devkit and run  &lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;ruby dk.rb init&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;ruby dk.rb install&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;p&gt;  &lt;/p&gt;&lt;li&gt;&lt;p&gt;Install Mysql2 (v.0.3.11) gem: &lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;gem install mysql2 -- '--with-mysql-lib=&quot;C:\mysql\mysql-connector-c-noinstall-6.0.2-win32\lib&quot; --with-mysql-include=&quot;C:\mysql\mysql-connector-c-noinstall-6.0.2-win32\include&quot;'&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;
&lt;p&gt;  &lt;/p&gt;&lt;li&gt;&lt;p&gt;Copy &lt;code class=&quot;codespan&quot;&gt;libmysql.dll&lt;/code&gt; into &lt;code class=&quot;codespan&quot;&gt;C:\Ruby192\bin&lt;/code&gt;&lt;br /&gt;
  &lt;/p&gt;&lt;li&gt;&lt;p&gt;Test by running &lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;rails new sometest&amp;#160;&amp;#160;# cd to sometest&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;rails g scaffold Libation name:string weight:integer&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc3&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;rake db:create&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc4&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;rake db:migrate&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc5&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;rails s&amp;#160;&amp;#160; # surf to localhost:3000/Libations&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Realized that I am running Mysql server 5.5, so if there are mysql problems, I may install the gem again using &quot;lib=C:\mysql\sqlserver55&quot; etc.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=windows-7-rails-3-2-and-mysql2-0-3-11&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Its a bitch getting Windows, Rails and Mysql2 to play nice. Here are the steps that worked for me.</p>
<ol>
  <li>Download from <a href="http://rubyinstaller.org/downloads/">rubyinstaller</a>, Ruby 1.9.2-p290 and DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe</li>
  <li>Install Ruby into C:\Ruby192</li>
  <li>Install DevKit into C:\Devkit</li>
  <li><p>Change dir to devkit and run  </p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">ruby dk.rb init</span></code></td></tr>
<tr class="amc_code_even"><td class="amc_line"><div class="amc2"></div></td><td><code><span class="amc_default">ruby dk.rb install</span></code></td></tr>
</table></div></li>
<p>  </p><li><p>Install Mysql2 (v.0.3.11) gem: </p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">gem install mysql2 -- '--with-mysql-lib="C:\mysql\mysql-connector-c-noinstall-6.0.2-win32\lib" --with-mysql-include="C:\mysql\mysql-connector-c-noinstall-6.0.2-win32\include"'</span></code></td></tr>
</table></div></li>
<p>  </p><li><p>Copy <code class="codespan">libmysql.dll</code> into <code class="codespan">C:\Ruby192\bin</code><br />
  </p><li><p>Test by running </p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">rails new sometest&#160;&#160;# cd to sometest</span></code></td></tr>
<tr class="amc_code_even"><td class="amc_line"><div class="amc2"></div></td><td><code><span class="amc_default">rails g scaffold Libation name:string weight:integer</span></code></td></tr>
<tr class="amc_code_odd"><td class="amc_line"><div class="amc3"></div></td><td><code><span class="amc_default">rake db:create</span></code></td></tr>
<tr class="amc_code_even"><td class="amc_line"><div class="amc4"></div></td><td><code><span class="amc_default">rake db:migrate</span></code></td></tr>
<tr class="amc_code_odd"><td class="amc_line"><div class="amc5"></div></td><td><code><span class="amc_default">rails s&#160;&#160; # surf to localhost:3000/Libations</span></code></td></tr>
</table></div></li><br />
</li></ol>
<p>Realized that I am running Mysql server 5.5, so if there are mysql problems, I may install the gem again using "lib=C:\mysql\sqlserver55" etc.</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=windows-7-rails-3-2-and-mysql2-0-3-11&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=windows-7-rails-3-2-and-mysql2-0-3-11&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=96</wfw:commentRss>
		</item>
				<item>
			<title>YALU - Yet another left update</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=yau-yet-another-update&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Sun, 29 Apr 2012 07:02:52 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Science</category>
<category domain="alt">Left</category>			<guid isPermaLink="false">95@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Severely  strained my left shoulder playing ultimate. Very sore and cannot use my left arm without pain. So for the past 2 days have shaved and brushed my teeth with the right arm/hand. It feels strange but familiar to use the right arm, actually enjoyed the feeling.&lt;br /&gt;
This past month I have been thinking that I am using my left arm/hand for such things automatically. It happens without thought, in fact if either brush or razor end up in the right hand, it feels wrong. It took some time for it to come natural, I don't remember when but its natural to use the left arm/hand. I am thinking its about time to learn to spike a VB and throw a frisbee and toss a ball with the left, but that will wait a few weeks.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Next morning update:&lt;/em&gt; woke up with left shoulder in lots of pain, but as the day progressed I noticed it was more mobile. I went for a late day shave and 1/4 way thru I noticed that I was using the left hand to shave without having thought about it! I was using it a wee gingerly, but nevertheless it was completely natural feeling. So cool. Smiled while I finished shaving.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=yau-yet-another-update&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Severely  strained my left shoulder playing ultimate. Very sore and cannot use my left arm without pain. So for the past 2 days have shaved and brushed my teeth with the right arm/hand. It feels strange but familiar to use the right arm, actually enjoyed the feeling.<br />
This past month I have been thinking that I am using my left arm/hand for such things automatically. It happens without thought, in fact if either brush or razor end up in the right hand, it feels wrong. It took some time for it to come natural, I don't remember when but its natural to use the left arm/hand. I am thinking its about time to learn to spike a VB and throw a frisbee and toss a ball with the left, but that will wait a few weeks.</p>

<p><em>Next morning update:</em> woke up with left shoulder in lots of pain, but as the day progressed I noticed it was more mobile. I went for a late day shave and 1/4 way thru I noticed that I was using the left hand to shave without having thought about it! I was using it a wee gingerly, but nevertheless it was completely natural feeling. So cool. Smiled while I finished shaving.</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=yau-yet-another-update&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=yau-yet-another-update&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=95</wfw:commentRss>
		</item>
				<item>
			<title>Rails 3.1 Error Messages and Solutions</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-1-error-messages-and-solutions&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Tue, 06 Dec 2011 09:30:19 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>
<category domain="alt">Rails</category>			<guid isPermaLink="false">94@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Sometimes the errors are obvious but you don't see them right away, so these are here to remind me and see if I get many more. Here goes:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;'merge' error&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;'merge' error&lt;/strong&gt; &lt;br /&gt;
Was getting this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;ActionView::Template::Error (undefined method `merge' for &quot;Convert Cap&quot;:String)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This was in a _form.html.erb view file and I had mistakenly added a label heading to the field tag instead of the label tag. Rails was trying to figure out what I was doing. Me too.&lt;/p&gt;

&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;# Error causing code&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;&amp;lt;dt&amp;gt;&amp;lt;%= f.label :cap %&amp;gt;&amp;lt;/dt&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc3&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;&amp;lt;dd&amp;gt;&amp;lt;%= f.number_field :cap, &quot;Convert Cap&quot; %&amp;gt;&amp;lt;/dd&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;# Correct code&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_even&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc2&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;&amp;lt;dt&amp;gt;&amp;lt;%= f.label :cap, &quot;Convert Cap&quot; %&amp;gt;&amp;lt;/dt&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc3&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;&amp;lt;dd&amp;gt;&amp;lt;%= f.number_field :cap %&amp;gt;&amp;lt;/dd&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=rails-3-1-error-messages-and-solutions&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Sometimes the errors are obvious but you don't see them right away, so these are here to remind me and see if I get many more. Here goes:</p>
<ol>
  <li>'merge' error</li>
</ol>

<p><strong>'merge' error</strong> <br />
Was getting this:</p>
<blockquote><p>ActionView::Template::Error (undefined method `merge' for "Convert Cap":String)</p></blockquote>

<p>This was in a _form.html.erb view file and I had mistakenly added a label heading to the field tag instead of the label tag. Rails was trying to figure out what I was doing. Me too.</p>

<p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default"># Error causing code</span></code></td></tr>
<tr class="amc_code_even"><td class="amc_line"><div class="amc2"></div></td><td><code><span class="amc_default">&lt;dt&gt;&lt;%= f.label :cap %&gt;&lt;/dt&gt;</span></code></td></tr>
<tr class="amc_code_odd"><td class="amc_line"><div class="amc3"></div></td><td><code><span class="amc_default">&lt;dd&gt;&lt;%= f.number_field :cap, "Convert Cap" %&gt;&lt;/dd&gt;</span></code></td></tr>
</table></div>

<p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default"># Correct code</span></code></td></tr>
<tr class="amc_code_even"><td class="amc_line"><div class="amc2"></div></td><td><code><span class="amc_default">&lt;dt&gt;&lt;%= f.label :cap, "Convert Cap" %&gt;&lt;/dt&gt;</span></code></td></tr>
<tr class="amc_code_odd"><td class="amc_line"><div class="amc3"></div></td><td><code><span class="amc_default">&lt;dd&gt;&lt;%= f.number_field :cap %&gt;&lt;/dd&gt;</span></code></td></tr>
</table></div><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-1-error-messages-and-solutions&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-1-error-messages-and-solutions&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=94</wfw:commentRss>
		</item>
				<item>
			<title>Git: local, remote, Github, fast-forward, master, origin... oh my!</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=git-local-remote-fast-forward-master-orign-oh-my&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Sat, 19 Nov 2011 08:14:22 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>			<guid isPermaLink="false">93@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;&lt;a href=&quot;http://git-scm.com/&quot;&gt;Git&lt;/a&gt; is distributed, so typically you have both a local and remote branch. Here is the terminology:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;	origin - the remote repository (ie like &lt;a href=&quot;https://github.com/&quot;&gt;github&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;	local  - the repository on your pc&lt;/li&gt;
  &lt;li&gt;	master - the branch name on both origin &amp;amp; local&lt;/li&gt;
  &lt;li&gt;	origin/master - branch name on local pc pointing to remote (origin) master&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The local repository will have many pointers to it. Your local development will have a&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt; &lt;strong&gt;master&lt;/strong&gt; pointer to where you are locally&lt;/li&gt;
  &lt;li&gt; &lt;strong&gt;origin/master&lt;/strong&gt; where the origin master points to.&lt;/li&gt;
  &lt;li&gt; &lt;strong&gt;heroku/master&lt;/strong&gt; where &lt;a href=&quot;http://www.heroku.com/&quot;&gt;heroku&lt;/a&gt; is pointing (if you use that)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Again, these all point to the same code base on your local machine. There is the same code base also on Github, because Git is distributed.&lt;/p&gt;

&lt;p&gt;When a change is done remotely, you bring that code to your local repository by issuing the command:&lt;br /&gt;
	&lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;$ git fetch origin&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;	&lt;br /&gt;
Now on your local machine your master branch still points to the original location (in local repository), but the origin/master branch now points to the updated code (also in your repository). When you issue a &quot;git status&quot; you will see a message like: &lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
	Your branch is behind 'origin/master' by 1 commit, &lt;br /&gt;
	and can be fast-forwarded. &lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
You don't need to commit anything to the repository, but you need to get the local master branch pointing to the updated code that origin/master is pointing to. Do this by:	&lt;br /&gt;
	&lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;$ git merge origin/master&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;	&lt;br /&gt;
This in essence is doing a &quot;fast-forward&quot;.&lt;/p&gt;

&lt;p&gt;If you had made changes that were committed but had not pushed to origin and you had grabbed from origin, after the above merge (and resolved conflicts, if any) then you would need to issue:&lt;br /&gt;
	&lt;/p&gt;&lt;p class=&quot;amcode&quot;&gt;Code:&lt;/p&gt;&lt;div class=&quot;codeblock amc_code amc_short&quot;&gt;&lt;table&gt;&lt;tr class=&quot;amc_code_odd&quot;&gt;&lt;td class=&quot;amc_line&quot;&gt;&lt;div class=&quot;amc1&quot;&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;&lt;span class=&quot;amc_default&quot;&gt;$ git push origin&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;	&lt;br /&gt;
to copy your changes to origin so that all is in sync again.	&lt;br /&gt;
Tada!&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=git-local-remote-fast-forward-master-orign-oh-my&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><a href="http://git-scm.com/">Git</a> is distributed, so typically you have both a local and remote branch. Here is the terminology:</p>
<ul>
  <li>	origin - the remote repository (ie like <a href="https://github.com/">github</a>)</li>
  <li>	local  - the repository on your pc</li>
  <li>	master - the branch name on both origin &amp; local</li>
  <li>	origin/master - branch name on local pc pointing to remote (origin) master</li>
</ul>

<p>The local repository will have many pointers to it. Your local development will have a</p>
<ul>
  <li> <strong>master</strong> pointer to where you are locally</li>
  <li> <strong>origin/master</strong> where the origin master points to.</li>
  <li> <strong>heroku/master</strong> where <a href="http://www.heroku.com/">heroku</a> is pointing (if you use that)</li>
</ul>
<p>Again, these all point to the same code base on your local machine. There is the same code base also on Github, because Git is distributed.</p>

<p>When a change is done remotely, you bring that code to your local repository by issuing the command:<br />
	</p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">$ git fetch origin</span></code></td></tr>
</table></div>
<p>	<br />
Now on your local machine your master branch still points to the original location (in local repository), but the origin/master branch now points to the updated code (also in your repository). When you issue a "git status" you will see a message like: <br />
<code><br />
	Your branch is behind 'origin/master' by 1 commit, <br />
	and can be fast-forwarded. <br />
</code><br />
You don't need to commit anything to the repository, but you need to get the local master branch pointing to the updated code that origin/master is pointing to. Do this by:	<br />
	</p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">$ git merge origin/master</span></code></td></tr>
</table></div>
<p>	<br />
This in essence is doing a "fast-forward".</p>

<p>If you had made changes that were committed but had not pushed to origin and you had grabbed from origin, after the above merge (and resolved conflicts, if any) then you would need to issue:<br />
	</p><p class="amcode">Code:</p><div class="codeblock amc_code amc_short"><table><tr class="amc_code_odd"><td class="amc_line"><div class="amc1"></div></td><td><code><span class="amc_default">$ git push origin</span></code></td></tr>
</table></div>
<p>	<br />
to copy your changes to origin so that all is in sync again.	<br />
Tada!</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=git-local-remote-fast-forward-master-orign-oh-my&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=git-local-remote-fast-forward-master-orign-oh-my&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=93</wfw:commentRss>
		</item>
				<item>
			<title>New Rails Installation on Ubuntu and First Project Errors - Errno::EACCES &#38; Rails "help" on "new" command</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-new-command-not-working-shows-help&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Sun, 03 Jul 2011 02:25:58 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>
<category domain="alt">Rails</category>			<guid isPermaLink="false">92@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Have a new VirtualBox ubuntu image and needed to get RoR up and running. A few problems to overcome, maybe this will help someone. Probably me.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;rob:~$ gem install rails&lt;br /&gt;
ERROR:  While executing gem ... (Errno::EACCES)&lt;br /&gt;
    Permission denied - /home/rob/.gem/specs&lt;/p&gt;

&lt;p&gt;rob~$ sudo mkdir ~/.gem/specs&lt;br /&gt;
rob~$ gem install rails&lt;br /&gt;
ERROR:  While executing gem ... (Errno::EACCES)&lt;br /&gt;
    Permission denied - /home/rob/.gem/specs/rubygems.org%80&lt;/p&gt;

&lt;p&gt;rob~$ sudo chmod 777 ~/.gem/specs&lt;br /&gt;
rob~$ gem install rails&lt;br /&gt;
...goodness happens...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now to create a test application, but the &quot;rails new sometest&quot; command not working I continually get the &quot;--help&quot; displayed. This has bit me a few times earlier, so had to figure this out. I'd recently added and removed a number of gems and simply issuing:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;gem cleanup&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;did the trick. Onward.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=rails-new-command-not-working-shows-help&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Have a new VirtualBox ubuntu image and needed to get RoR up and running. A few problems to overcome, maybe this will help someone. Probably me.</p>
<blockquote><p>rob:~$ gem install rails<br />
ERROR:  While executing gem ... (Errno::EACCES)<br />
    Permission denied - /home/rob/.gem/specs</p>

<p>rob~$ sudo mkdir ~/.gem/specs<br />
rob~$ gem install rails<br />
ERROR:  While executing gem ... (Errno::EACCES)<br />
    Permission denied - /home/rob/.gem/specs/rubygems.org%80</p>

<p>rob~$ sudo chmod 777 ~/.gem/specs<br />
rob~$ gem install rails<br />
...goodness happens...</p>
</blockquote>

<p>Now to create a test application, but the "rails new sometest" command not working I continually get the "--help" displayed. This has bit me a few times earlier, so had to figure this out. I'd recently added and removed a number of gems and simply issuing:</p>
<blockquote><p><code>gem cleanup</code></p></blockquote>
<p>did the trick. Onward.</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-new-command-not-working-shows-help&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-new-command-not-working-shows-help&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=92</wfw:commentRss>
		</item>
				<item>
			<title>Rails 3: Error message: ActionView::Template::Error (undefined method `model_name' for NilClass:Class):</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-error-message-actionview-template-error-undefined-method-model_name-for-nilclass-class&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Fri, 18 Mar 2011 02:10:41 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="alt">Rails</category>
<category domain="main">GAE</category>			<guid isPermaLink="false">91@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Took a little while to track this down, mostly this is a note to self. I was getting the error:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;ActionView::Template::Error (undefined method `model_name' for NilClass:Class):&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt; &lt;br /&gt;
I was using partials and thought there was an error somewhere there. Turns out I had an &lt;strong&gt;end&lt;/strong&gt; statement in my controller in the wrong place - but the right number for the *whole* controller. Thats why I was getting that mysterious &lt;strong&gt;undefined method `model_name'&lt;/strong&gt; message. WTF was &quot;model_name&quot; ?&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=rails-3-error-message-actionview-template-error-undefined-method-model_name-for-nilclass-class&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Took a little while to track this down, mostly this is a note to self. I was getting the error:</p>
<blockquote><p>ActionView::Template::Error (undefined method `model_name' for NilClass:Class):</p></blockquote><p> <br />
I was using partials and thought there was an error somewhere there. Turns out I had an <strong>end</strong> statement in my controller in the wrong place - but the right number for the *whole* controller. Thats why I was getting that mysterious <strong>undefined method `model_name'</strong> message. WTF was "model_name" ?</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-error-message-actionview-template-error-undefined-method-model_name-for-nilclass-class&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-3-error-message-actionview-template-error-undefined-method-model_name-for-nilclass-class&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=91</wfw:commentRss>
		</item>
				<item>
			<title>Rails seeds.rb not loading value into SQL table</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-seeds-rb-not-loading-value-into-sql-table&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Fri, 18 Mar 2011 02:05:25 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>
<category domain="alt">Rails</category>			<guid isPermaLink="false">90@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Took a while to figure this out, I had a seeds.rb file and one value would not update the column in the SQL table. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;#seeds.rb&lt;br /&gt;
:somevalue =&gt; 'some thing'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Finally figured out that I had to have attr_accessible set!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;#SomeModel.rb&lt;br /&gt;
attr_accessible :somevalue&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But what is going on? &lt;/p&gt;

&lt;p&gt;I had added attr_accessible but not sure why. Now I do. There is a good &lt;a href=&quot;http://guides.rubyonrails.org/security.html#mass-assignment&quot;&gt;explanation&lt;/a&gt; about it. Another great resource is to watch the &lt;a href=&quot;http://railscasts.com/episodes/26-hackers-love-mass-assignment&quot;&gt;railscast&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I had been using &lt;strong&gt;attr_accessible&lt;/strong&gt; but did not realize that once you start using it, only attributes that are listed with it will be able to be mass assigned like:&lt;/p&gt;

&lt;p&gt; &lt;code&gt;User.create(:email =&gt; 'rob@rtfm....&lt;/code&gt;&lt;/p&gt;

&lt;p&gt; All others will have to be assigned by direct assignment:&lt;/p&gt;

&lt;p&gt; &lt;code&gt;User.admin=true&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;So when loading seed data from seeds.rb, you are mass assigning. Any attributes that you assign that are not listed by &lt;strong&gt;attr_accessible&lt;/strong&gt; will not be assigned.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=rails-seeds-rb-not-loading-value-into-sql-table&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Took a while to figure this out, I had a seeds.rb file and one value would not update the column in the SQL table. </p>

<p><code>#seeds.rb<br />
:somevalue => 'some thing'</code></p>

<p>Finally figured out that I had to have attr_accessible set!</p>

<p><code>#SomeModel.rb<br />
attr_accessible :somevalue</code></p>

<p>But what is going on? </p>

<p>I had added attr_accessible but not sure why. Now I do. There is a good <a href="http://guides.rubyonrails.org/security.html#mass-assignment">explanation</a> about it. Another great resource is to watch the <a href="http://railscasts.com/episodes/26-hackers-love-mass-assignment">railscast</a>.</p>

<p>I had been using <strong>attr_accessible</strong> but did not realize that once you start using it, only attributes that are listed with it will be able to be mass assigned like:</p>

<p> <code>User.create(:email => 'rob@rtfm....</code></p>

<p> All others will have to be assigned by direct assignment:</p>

<p> <code>User.admin=true</code></p>

<p>So when loading seed data from seeds.rb, you are mass assigning. Any attributes that you assign that are not listed by <strong>attr_accessible</strong> will not be assigned.</p><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-seeds-rb-not-loading-value-into-sql-table&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=rails-seeds-rb-not-loading-value-into-sql-table&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=90</wfw:commentRss>
		</item>
				<item>
			<title>s8 media</title>
			<link>http://rtfm.ca/ramble/index.php?blog=4&amp;title=s8-media&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<pubDate>Sun, 27 Feb 2011 08:59:02 +0000</pubDate>			<dc:creator>admin</dc:creator>
			<category domain="main">Programming</category>
<category domain="alt">s8</category>			<guid isPermaLink="false">89@http://rtfm.ca/ramble/</guid>
						<description>&lt;p&gt;Working on a project I'll call s8 media. &lt;/p&gt;

&lt;p&gt;In the beginning, the application was written in PHP and Python. Then it was rewritten in Python and on GAE. There were some difficulties with it and a rewrite was in order again. I started out with the rewrite in GAE, but its a platform, a language and a database that is new for me. I am keen on Python. I am keen on GAE. I am keen on NoSql tables, but for a first app to be production ready I was not comfortable with.&lt;/p&gt;

&lt;p&gt;So I am writing it in Rails. Once its up and running, if need be we can look at GAE again if the numbers warrant it. For now, the coding in Rails is going well. I am using Mercurial &amp;amp; GIT for source control. I store code at bitbucket.org (because repository can be labeled private) so need mercurial. I am using Heroku for running app so need git. When I actually pay for github, then I can have a private repository there and drop mercurial. Until the first payheck, free is the way to go.&lt;/p&gt;

&lt;p&gt;So far I have coded over the past couple of days:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;three tables w/ CRUD screens&lt;/li&gt;
  &lt;li&gt;three static pages: home, adv and pub.&lt;/li&gt;
  &lt;li&gt;added content to static pages&lt;/li&gt;
  &lt;li&gt;added beginning css&lt;/li&gt;
  &lt;li&gt;added nav bar&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;On tap for this week:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;login &amp;amp; authentication&lt;/li&gt;
  &lt;li&gt;more tables/screens&lt;/li&gt;
  &lt;li&gt;admin screens&lt;/li&gt;
  &lt;li&gt;more css&lt;/li&gt;
  &lt;li&gt;more validation&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://rtfm.ca/ramble/index.php?blog=4&amp;amp;title=s8-media&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Working on a project I'll call s8 media. </p>

<p>In the beginning, the application was written in PHP and Python. Then it was rewritten in Python and on GAE. There were some difficulties with it and a rewrite was in order again. I started out with the rewrite in GAE, but its a platform, a language and a database that is new for me. I am keen on Python. I am keen on GAE. I am keen on NoSql tables, but for a first app to be production ready I was not comfortable with.</p>

<p>So I am writing it in Rails. Once its up and running, if need be we can look at GAE again if the numbers warrant it. For now, the coding in Rails is going well. I am using Mercurial &amp; GIT for source control. I store code at bitbucket.org (because repository can be labeled private) so need mercurial. I am using Heroku for running app so need git. When I actually pay for github, then I can have a private repository there and drop mercurial. Until the first payheck, free is the way to go.</p>

<p>So far I have coded over the past couple of days:</p>
<ul>
  <li>three tables w/ CRUD screens</li>
  <li>three static pages: home, adv and pub.</li>
  <li>added content to static pages</li>
  <li>added beginning css</li>
  <li>added nav bar</li>
</ul>
<p>On tap for this week:</p>
<ul>
  <li>login &amp; authentication</li>
  <li>more tables/screens</li>
  <li>admin screens</li>
  <li>more css</li>
  <li>more validation</li>
</ul><div class="item_footer"><p><small><a href="http://rtfm.ca/ramble/index.php?blog=4&amp;title=s8-media&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://rtfm.ca/ramble/index.php?blog=4&amp;title=s8-media&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1#comments</comments>
			<wfw:commentRss>http://rtfm.ca/ramble/index.php?blog=4&#38;tempskin=_rss2&#38;disp=comments&#38;p=89</wfw:commentRss>
		</item>
			</channel>
</rss>

