<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>wheatstack</title>
	<link>http://www.wheatstack.com</link>
	<description>a wheaty stack</description>
	<pubDate>Mon, 07 Apr 2008 21:07:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>server_names_hash in nginx</title>
		<link>http://www.wheatstack.com/2008/04/07/server_names_hash-in-nginx/</link>
		<comments>http://www.wheatstack.com/2008/04/07/server_names_hash-in-nginx/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 21:07:02 +0000</pubDate>
		<dc:creator>henry</dc:creator>
		
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.wheatstack.com/2008/04/07/server_names_hash-in-nginx/</guid>
		<description><![CDATA[Just a quickie if anyone else bangs into the error below when trying to start nginx..
could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
Within the http block of the nginx config file make sure you have the server_names_hash_bucket_size set higher than the minimum 32. Have a look at the docs here. Example below..

http {
 [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quickie if anyone else bangs into the error below when trying to start nginx..</p>
<pre>could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32</pre>
<p>Within the http block of the nginx config file make sure you have the server_names_hash_bucket_size set higher than the minimum 32. Have a look at the docs <a href="http://wiki.codemongers.com/NginxHttpCoreModule#server_names_hash_bucket_size">here</a>. Example below..</p>
<pre name="code" class="ruby">
http {
  server_names_hash_bucket_size 64;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.wheatstack.com/2008/04/07/server_names_hash-in-nginx/feed/</wfw:commentRss>
		</item>
		<item>
		<title>:template not found in merb-core 0.9.1</title>
		<link>http://www.wheatstack.com/2008/03/13/template-not-found-in-merb-core-091/</link>
		<comments>http://www.wheatstack.com/2008/03/13/template-not-found-in-merb-core-091/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 06:36:53 +0000</pubDate>
		<dc:creator>henry</dc:creator>
		
		<category><![CDATA[Merb]]></category>

		<guid isPermaLink="false">http://www.wheatstack.com/2008/03/13/template-not-found-in-merb-core-091/</guid>
		<description><![CDATA[In merb-core 0.9.1 render :template works in a slightly unexpected way. When using the :template option the :format is ignored in finding the correct template.

render :template =&#62; "/upload/form", :format =&#62; :html
The above will match the templates approot/app/views/upload/form.{erb,haml}
The quick fix for this is to put the format in the :template string&#8230;

render :template =&#62; "/upload/form.html"
Which will match [...]]]></description>
			<content:encoded><![CDATA[<p>In merb-core 0.9.1 render :template works in a slightly unexpected way. When using the :template option the :format is ignored in finding the correct template.</p>
<pre name="code" class="ruby">
render :template =&gt; "/upload/form", :format =&gt; :html</pre>
<p>The above will match the templates <em>approot/app/views/upload/form.{erb,haml}</em></p>
<p>The quick fix for this is to put the format in the :template string&#8230;</p>
<pre name="code" class="ruby">
render :template =&gt; "/upload/form.html"</pre>
<p>Which will match <em>approot/app/views/upload/form.html.{erb,haml}</em></p>
<p>Take a look yourself in merb-core 0.9.1 render.rb#278</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wheatstack.com/2008/03/13/template-not-found-in-merb-core-091/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get Merb, Wear Merb, Fly</title>
		<link>http://www.wheatstack.com/2008/03/12/get-merb-wear-merb-fly/</link>
		<comments>http://www.wheatstack.com/2008/03/12/get-merb-wear-merb-fly/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 13:30:52 +0000</pubDate>
		<dc:creator>henry</dc:creator>
		
		<category><![CDATA[Merb]]></category>

		<guid isPermaLink="false">http://www.wheatstack.com/2008/03/12/get-merb-wear-merb-fly/</guid>
		<description><![CDATA[Merb is in pretty much constant development at the moment, building up to the big 1.0 release. I&#8217;m not going into production immediately but plan to come the next major release, so quite happy to run out of the repository.
Below is a no frills guide to getting up and running with merb.
First off, you&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>Merb is in pretty much constant development at the moment, building up to the big 1.0 release. I&#8217;m not going into production immediately but plan to come the next major release, so quite happy to run out of the repository.</p>
<p>Below is a no frills guide to getting up and running with merb.</p>
<p>First off, you&#8217;ll need <a href="http://git.or.cz/">git</a> installed. If you&#8217;re on OSX Leopard then try this post <a href="http://blog.kineticweb.com/articles/2007/10/30/compiling-git-for-mac-os-x-leopard-10-5">here</a>.</p>
<p>Right, lets grab all the repos we need.. and install them..</p>
<pre><code>$ git clone git://github.com/wycats/merb-core.git
$ git clone git://github.com/wycats/merb-more.git
$ git clone git://github.com/wycats/merb-plugins.git
$ cd merb-core ; rake install ; cd ..
$ cd merb-more ; rake install ; cd ..
$ cd merb-plugins ; rake install ; cd ..
</code></pre>
<p>You can now create a new merb app with..</p>
<pre><code>$ merb-gen myapp
</code></pre>
<p>If you&#8217;d like to use activerecord make sure you have the latest version, uncomment the use_orm line in your approot/config/init.rb and add a approot/config/database.yml.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wheatstack.com/2008/03/12/get-merb-wear-merb-fly/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
