<?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>brew manager development blog &#187; code</title>
	<atom:link href="http://blog.brewmanager.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brewmanager.com</link>
	<description>Follwing the development of brewmanager.com</description>
	<lastBuildDate>Sat, 07 Feb 2009 13:44:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Things getting done, even if they are in the wrong order</title>
		<link>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/</link>
		<comments>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 02:45:34 +0000</pubDate>
		<dc:creator>krujos</dc:creator>
				<category><![CDATA[brewing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brewmanager.com/?p=13</guid>
		<description><![CDATA[Tonight users got inventory&#8217;s. I&#8217;m not sure why I started working on this. I added it in the account controller the other for some reason. That struck me as ugly so I moved the creation of the inventory down into the user model. I also learned what magic (err not so much magic as you [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight users got inventory&#8217;s. I&#8217;m not sure why I started working on this. I added it in the account controller the other for some reason. That struck me as ugly so I moved the creation of the inventory down into the user model. I also learned what magic (err not so much magic as you know&#8230; passing a parameter) I needed to overload ActiveRecords constructor. Seems harder than it should have been, but I probably wasn&#8217;t looking in the right place (google didn&#8217;t turn up anything too revealing, should have put <a title="Punt a Koala" href="http://www.puntakoala.org/mt/">Buck</a> on it, mad google skills that one.). If anyone is ever looking for it you want to do:</p>
<pre>def initialize(params = {}) #Not def initialize()
    super(params)
    ....
end</pre>
<p>So anyway, users now compose inventories. Life is good for them. Still can&#8217;t enter recipies, because you know I got side tracked. But eh that&#8217;s how it goes.</p>
<p>I&#8217;ve got beer to rack &amp; bottle (<a title="Aleisha's Heff" href="http://symbeer.wikidot.com/recipes:aleishas-heff">heff</a> into bottles and racking a <a title="Nut Brown " href="http://symbeer.wikidot.com/recipes:brown-ale">brown</a> to secondaries) tomorrow night so I won&#8217;t get to work on the site for a day or two. When I get back to it I&#8217;ll finish up the recipe stuff and get it out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.brewmanager.com/2008/06/17/things-getting-done-even-if-they-are-in-the-wrong-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
