<?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>Joe's Amazing Technicolor Weblog &#187; Ruby on Rails</title>
	<atom:link href="http://slagwerks.com/blog/index.php/tag/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://slagwerks.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 22:31:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Migrating from mongrel to passenger</title>
		<link>http://slagwerks.com/blog/index.php/2008/12/24/migrating-from-mongrel-to-passenger/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/12/24/migrating-from-mongrel-to-passenger/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 16:56:07 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[slicehost]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=224</guid>
		<description><![CDATA[In short, I&#8217;m happy to report that passenger a.k.a. mod_rails is awesome. I see no need to fiddle with mongrel, mongrel_cluster &#38; mod_proxy for future rails&#160;apps. Miscellaneous notes from the&#160;project: My environment is now ubuntu server 8.04, on slicehost. This project finally prompted me to upgrade from 7.10, which went very smootly&#8201;&#8212;&#8201;the long-term support releases [...]]]></description>
			<content:encoded><![CDATA[<p>In short, I&#8217;m happy to report that <a href="http://www.modrails.com/">passenger</a> a.k.a. mod_rails is awesome. I see no need to fiddle with mongrel, mongrel_cluster <span class="amp">&amp;</span> mod_proxy for future rails&nbsp;apps.</p>
<p>Miscellaneous notes from the&nbsp;project:</p>
<ul>
<li>My environment is now ubuntu server 8.04, on slicehost. This project finally prompted me to upgrade from 7.10, which went very smootly&thinsp;&#8212;&thinsp;the long-term support releases of Ubuntu seem like the way to go for most server&nbsp;situations.</li>
<li>How to handle the apache config? We have some php stuff running on this server, too, so the 3rd party <a href="http://wiki.brightbox.co.uk/docs:phusion-passenger">ubuntu passenger package</a>, which wants to use the worker mpm, isn&#8217;t the hot ticket. No problem, passenger&#8217;s default gem-based install is smooth as butter.<br />
This configuration also seems to require <code>RailsAutoDetect off</code>, which had the side benefit of letting me leave an existing mongrel-using configuration alone until I had a few <span style="text-decoration: line-through;">minutes</span> hours to upgrade it to rails 2.2.2, then switch it over to git <span class="amp">&amp;</span>&nbsp;passenger.</li>
<li>Slicehost has decent docs for this, in particular <a href="http://articles.slicehost.com/2008/5/1/ubuntu-hardy-mod_rails-installation">ubuntu-hardy-mod_rails-installation</a> and <a href="http://articles.slicehost.com/2008/5/1/ubuntu-hardy-using-mod_rails-to-serve-your-application">ubuntu-hardy-using-mod_rails-to-serve-your-application</a> <span class="amp">&amp;</span> its&nbsp;comments.</li>
<li><a href="http://jimneath.org/2008/05/10/using-capistrano-with-passenger-mod_rails/">Capistrano mods for&nbsp;passenger</a></li>
<li>This was also my first git-powered rails app, which proved a little challenging to get going with cap, but has turned out really nicely. Very fast deployments.<br />
Along the way, having a plugin as a git submodule proved to be more trouble than it was with, though I&#8217;m not sure if that&#8217;d apply to my final configuration, which involves checking the project out from the same server as it&#8217;s deployed on,  <a href="http://tomcopeland.blogs.com/juniordeveloper/2008/05/capistrano-loca.html">using the :local_repository argument</a> to&nbsp;capistrano.</li>
<li>This project helped me realize that having a deployed app as a public github project is more trouble than it&#8217;s worth, what with the various configuration informations that I&#8217;d rather have under <span class="caps">SCM</span> but don&#8217;t want to&nbsp;share.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/12/24/migrating-from-mongrel-to-passenger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>slightly updated us_state_select plugin</title>
		<link>http://slagwerks.com/blog/index.php/2008/12/04/slightly-updated-us_state_select-plugin/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/12/04/slightly-updated-us_state_select-plugin/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 19:47:08 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=211</guid>
		<description><![CDATA[I&#8217;ve used technoweenie&#8217;s handy us_state_select rails plugin in past projects. Just tried it out on a new rails 2.2 project &#38; found out that the call to InstanceTag needed to be updated, and since technoweenie&#8217;s SVN version of the plugin seems moribund, I thought I&#8217;d take 30 extra seconds to put it up on github. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/"><img class="alignright" title="github logo" src="https://github.com/images/modules/header/logo.png" alt="" width="157" height="60" /></a>I&#8217;ve used technoweenie&#8217;s handy <a href="http://svn.techno-weenie.net/projects/plugins/us_states/">us_state_select rails plugin</a> in past projects. Just tried it out on a new rails 2.2 project <span class="amp">&amp;</span> found out that the call to InstanceTag needed to be updated, and since technoweenie&#8217;s <span class="caps">SVN</span> version of the plugin seems moribund, I thought I&#8217;d take 30 extra seconds to <a href="http://github.com/jslag/us-state-select-plugin/tree/master">put it up on github</a>. Fork&nbsp;away!</p>
<p><span class="caps">P.S.</span> github is way&nbsp;cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/12/04/slightly-updated-us_state_select-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Whoops &#8212; my rails app was open to a common vulnerability</title>
		<link>http://slagwerks.com/blog/index.php/2008/09/23/whoops-my-rails-app-was-open-to-a-common-vulnerability/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/09/23/whoops-my-rails-app-was-open-to-a-common-vulnerability/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 20:36:17 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=70</guid>
		<description><![CDATA[Thanks to Hacker News for bringing this common problem with Rails apps to my attention. Nobody seems to have taken advantage of it on my app, but still, it&#8217;s a drag having insecure applications, and a little disappointing that there aren&#8217;t more heads-up about this, or a more secure default as Merb apparently&#160;has.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Hacker News for bringing this <a href="http://news.ycombinator.com/item?id=311345">common problem with Rails apps</a> to my attention. Nobody seems to have taken advantage of it on my app, but still, it&#8217;s a drag having insecure applications, and a little disappointing that there aren&#8217;t more heads-up about this, or a more secure default as <a href="http://merbivore.com/">Merb</a> apparently&nbsp;has.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/09/23/whoops-my-rails-app-was-open-to-a-common-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>puttering around with Symfony</title>
		<link>http://slagwerks.com/blog/index.php/2008/01/23/puttering-around-with-symfony/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/01/23/puttering-around-with-symfony/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 01:25:04 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/index.php/2008/01/23/puttering-around-with-symfony/</guid>
		<description><![CDATA[On advice from Nate, I&#8217;m taking Symfony for a spin (using the stable version 1, not the under-development 1.1), reimplementing the aforementioned contact management application. Here&#8217;s what I&#8217;m&#160;noticing: Somewhat like Rails, there&#8217;s DB-independent schema definition! Big win here. Among other things, this lets you develop in SQLite and deploy in MySQL, which is a nice [...]]]></description>
			<content:encoded><![CDATA[<p>On <a href="http://slagwerks.com/blog/index.php/2007/12/14/first-thoughts-on-cakephp-from-a-rails-perspective/#comment-4035">advice from Nate</a>, I&#8217;m taking <a href="http://www.symfony-project.org/">Symfony</a> for a spin (using the stable version 1, not the under-development 1.1), reimplementing the aforementioned contact management application. Here&#8217;s what I&#8217;m&nbsp;noticing:</p>
<ul>
<li>Somewhat like Rails, there&#8217;s <span class="caps">DB</span>-independent schema definition! Big win here. Among other things, this lets you develop in SQLite and deploy in MySQL, which is a nice pattern. Rails&#8217; awesome migrations aren&#8217;t here, so it&#8217;s not as useful and flexible a system, but it&#8217;s better than nothing for getting up <span class="amp">&amp;</span>&nbsp;running.</li>
<li>One big difference from Rails that&#8217;s clear right away: rather than building code dynamically based on the <span class="caps">DB</span> schema, thousands of lines of getters / setters / etc. are generated by the symfony command line tool. Makes sense for <span class="caps">PHP</span>, but it&#8217;s a clunkier development&nbsp;experience.</li>
<li>There&#8217;s <a href="http://www.symfony-project.org/book/1_0/15-Unit-and-Functional-Testing">testing</a> built in! It&#8217;s a bit of a <span class="caps">PITA</span> to do things like create a test database, and all the pieces for testing your models aren&#8217;t there right away, but still better than CakePHP. The aforementioned missing piece is available as <a href="http://trac.symfony-project.com/wiki/sfModelTestPlugin">a plugin</a>. There doesn&#8217;t seem to be a straightforward way to get the <code>propel-insert-sql</code> task to run on alternate environments, so one must create the db on their own. I&#8217;m using SQLite, which is great, but my local environment somehow ended up with PHP having SQLite 2.8 while my command line is version 3 (macports at fault? what a step backwards from Ubuntu&#8230;). One <code>port install sqlite2</code> later, and you can do <code>sqlite data/test.db &lt;&nbsp;data/sql/lib.model.schema.sql</code></li>
<li>No console, which makes the tests even more essential, so it does seem to be worth the pain of getting them&nbsp;working.</li>
</ul>
<p>Side note&thinsp;&#8212;&thinsp;already, on the basis of the previous post, I&#8217;m seeing a surprising amount of traffic from searches on CakePHP, Symfony, and <span class="caps">REST</span>. Clearly I&#8217;m not the only one looking for this kind of&nbsp;thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/01/23/puttering-around-with-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First thoughts on CakePHP from a Rails perspective</title>
		<link>http://slagwerks.com/blog/index.php/2007/12/14/first-thoughts-on-cakephp-from-a-rails-perspective/</link>
		<comments>http://slagwerks.com/blog/index.php/2007/12/14/first-thoughts-on-cakephp-from-a-rails-perspective/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 22:31:03 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/index.php/2007/12/14/first-thoughts-on-cakephp-from-a-rails-perspective/</guid>
		<description><![CDATA[I have a new project coming up that seems like a great fit for Ruby on Rails, particularly the RESTful interfaces that have gone in over the last year. However, the typical questions about using Rails apply here: I&#8217;m not sure how well the project&#8217;s hosting environment will support Rails, and collaborators aren&#8217;t as familiar [...]]]></description>
			<content:encoded><![CDATA[<p>I have a new project coming up that seems like a great fit for Ruby on Rails, particularly the <a href="http://ryandaigle.com/articles/2006/08/01/whats-new-in-edge-rails-simply-restful-support-and-how-to-use-it">RESTful interfaces</a> that have gone in over the last year. However, the typical questions about using Rails apply here: I&#8217;m not sure how well the project&#8217;s hosting environment will support Rails, and collaborators aren&#8217;t as familiar with it. Thus,  it seemed like it might be worth another look at options on the <span class="caps">PHP</span> side of things. I keep hearing that <a href="cakephp.org/">CakePHP</a> is Rails-inspired and has many of the same advantages, so today I&#8217;ve taken the stable version (1.1.8.5850) for a spin, letting <a href="http://manual.cakephp.org/appendix/blog_tutorial">the Cake manual&#8217;s blog tutorial</a> get me started. Here&#8217;s what I&#8217;ve noticed about CakePHP development as practiced in the tutorial&thinsp;&#8212;&thinsp;maybe there&#8217;s better ways to do things <span class="amp">&amp;</span> the tutorial just isn&#8217;t mentioning&nbsp;them?</p>
<ul>
<li>No <a href="http://api.rubyonrails.org/classes/ActiveRecord/Migration.html">migrations</a>; you have to generate the <span class="caps">DDL</span> on your own, both initially and for any subsequent modifications. Also, no model or controller generators. It&#8217;s definitely nicer to just do  <code>script/generate scaffold post title:string body:text; rake db:migrate</code>  and be off to the races&thinsp;&#8212;&thinsp;from Rails 1.2 on, those races include the whole REST business. To be fair, there is a one off reference to &#8216;bake&#8217; scripts in the CakePHP manual, but no pointers on what those are, or where they live, and the website isn&#8217;t much&nbsp;clearer.</li>
<li>No <span class="caps">TDD</span>. Woah. That&#8217;s, like, half the advantage of Rails&thinsp;&#8212;&thinsp;automated testing is right there in your face, and is firmly entrenched in the&nbsp;community.</li>
<li><span class="caps">PHP</span> code is not quite as elegant as Ruby. For example, generating a link to delete a post looks like this: <code>$html-&gt;link('Delete', "/posts/delete/{$post['Post'][id']}", null, 'Are you sure?' )</code>. Can you spot the syntax error? Probably you can, but it took me a good few minutes. The Rails equivalent would be<br />
<code>link_to "Delete", { :action =&gt; "delete", :id =&gt; @post.id }, :confirm =&gt; "Are you sure?", :method =&gt;&nbsp;:delete</code></li>
<li>A lack of the experiences baked into Rails. For example, after the Google Web Accelerator fiasco, it became common practice to make all links to destructive actions happen via <span class="caps">POST</span>, which can be done via <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M000900">link_to</a>&#8217;s :method parameter. Compare to the <span class="caps">GET</span>-powered delete link above, straight from the Cake&nbsp;tutorial.</li>
<li>I miss my <a href="http://www.vim.org/scripts/script.php?script_id=1567">vim <span class="amp">&amp;</span> rails integration</a>, which makes creating and navigating the various files a breeze. (Glad I went to the trouble of making that a link, as it got me re-reading the plugin&#8217;s about page, and I saw the parts about partial extraction and migration inversion, neither of which I&#8217;d noticed&nbsp;before)</li>
</ul>
<p>On the upside, using CakePHP sure beats writing a <span class="caps">CRUD</span>-heavy <span class="caps">PHP</span> application from scratch. One of my current projects, a completely custom contact management application, would be in much better shape if it were using CakePHP instead of the project-specific <span class="caps">ORM</span> I cobbled together&thinsp;&#8212;&thinsp;I&#8217;m going to have to give conversion of that project to CakePHP some serious&nbsp;thought.</p>
<p>But is CakePHP a <a href="http://en.wikipedia.org/wiki/Domain-specific_programming_language"><span class="caps">DSL</span></a> for the web in the sense that Rails is? Not&nbsp;yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2007/12/14/first-thoughts-on-cakephp-from-a-rails-perspective/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>some snags along the way to rails 2.0&#160;PR</title>
		<link>http://slagwerks.com/blog/index.php/2007/10/04/some-snags-along-the-way-to-rails-20pr/</link>
		<comments>http://slagwerks.com/blog/index.php/2007/10/04/some-snags-along-the-way-to-rails-20pr/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 22:09:16 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/index.php/2007/10/04/some-snags-along-the-way-to-rails-20pr/</guid>
		<description><![CDATA[Update: Looks like I would have done well to wait a day before upgrading to the 2.0&#160;preview. I&#8217;m giving the Rails 2.0 Preview Release a spin, and finding that upgrading an existing 1.2.3 app is not totally seamless. Hitches I&#8217;ve run into so&#160;far: Ran into the missing active_resource issue, discussed at&#160;kopongo.com. A bunch of tests [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Update:</strong> Looks like I would have done well to <a href="http://weblog.rubyonrails.com/2007/10/5/rails-1-2-4-maintenance-release">wait a day</a> before upgrading to the 2.0&nbsp;preview.</em></p>
<p>I&#8217;m giving the Rails <a href="http://weblog.rubyonrails.org/2007/9/30/rails-2-0-0-preview-release">2.0 Preview Release</a> a spin, and finding that upgrading an existing 1.2.3 app is not totally seamless. Hitches I&#8217;ve run into so&nbsp;far:</p>
<ul>
<li>Ran into the missing active_resource issue, discussed at&nbsp;<a href="http://kopongo.com/2007/7/11/moving-to-rails-edge">kopongo.com</a>.</li>
<li>A bunch of tests failed due to the oddity described (and patched) in <a href="http://dev.rubyonrails.org/ticket/9525">ticket&nbsp;9525</a>.</li>
<li>My nested resource routes all broke. Before if you had urls like <code>http://example.com/posts/1/comments</code> you&#8217;d get routes like <em>comments_path. </em>Now, you don&#8217;t; you get <em>post_comments_path</em>. I did find the new <code>`rake routes`</code> output awfully helpful for debugging this&nbsp;one.</li>
</ul>
<p>Not too bad for a fairly big version jump. Other than the aforementioned annoyances, it&#8217;s too early for me to say much about the improvements in 2.0. I certainly do like the prettier RESTful URLs, and the prospect of a working debugger was a big&nbsp;motivator.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2007/10/04/some-snags-along-the-way-to-rails-20pr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying my first rails app</title>
		<link>http://slagwerks.com/blog/index.php/2007/01/10/deploying-my-first-rails-app/</link>
		<comments>http://slagwerks.com/blog/index.php/2007/01/10/deploying-my-first-rails-app/#comments</comments>
		<pubDate>Wed, 10 Jan 2007 04:19:07 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=10</guid>
		<description><![CDATA[I've been working on a little Ruby on Rails application on and off for a few weeks, and finally have enough together that it made sense to deploy it somewhere other than my laptop. It ended up taking all day; here are some of the high and lowlights, in chronological order.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a little Ruby on Rails application on and off for a few weeks, and finally have enough together that it made sense to deploy it somewhere other than my laptop. It ended up taking all day; here are some of the high and lowlights, in chronological&nbsp;order.</p>
<ul>
<li>When building ruby from source on my Breezy xen slice, I ended up with no zip lib. Gotta download a way old version that says it&#8217;s obsolete. This is just one reason why package managers are worth having; too bad there isn&#8217;t an acceptable versions of ruby in Breezy. I did blow a few hours trying to upgrade to Edgy yesterday, but bad Xen things happened so I&#8217;m stuck on Breezy for&nbsp;now.</li>
<li>Capistrano needs ruby&#8217;s openssl lib, which is part of the core, but if you don&#8217;t have the ssl dev libraries around, it doesn&#8217;t get built. So, rebuild ruby and that part&nbsp;worked.</li>
<li>I&#8217;ve been using sqlite for development and though it would be nice for production, too, so I had to install libsqlite3-dev <span class="amp">&amp;</span> the sqlite3-ruby gem. Started to think about making it work with Capistrano, via ideas <a href="http://railsforum.com/viewtopic.php?pid=4925">here</a>. But even when the permissions all seem to work ( as in the user running the app can write to the file with the sqlite3 command line tool ) rails is only able to read from it - pukes with a generic error when it tries to write. So, mysql it is. Thanks to migrations, switching from sqlite to mysql only took a minute.&nbsp;Cool.</li>
<li>Not so clear on how capistrano knows what user to run things as - <a href="http://manuals.rubyonrails.com/read/book/17">this</a> seems like the main reference, but I&#8217;m having trouble finding everything I need in there. Probably need to dig around in the&nbsp;source.</li>
<li>This app isn&#8217;t running on its own domain, and I had an unpleasant time with RAILS_RELATIVE_URL_ROOT <span class="amp">&amp;</span> lighttpd. I&#8217;m running rails 1.2 <span class="caps">RC</span> 2 and haven&#8217;t had a chance to dig around the changelogs to see if there are relevant changes in there that would explain the headaches, which are that it only seems to work if you set it in routes.rb as discussed <a href="http://rubyforge.org/pipermail/mongrel-users/2006-May/000185.html">here.</a> That&#8217;s lame because you can&#8217;t just have it for production then. A better approach seems to be <a href="http://blog.lighttpd.net/articles/2005/11/23/lighttpd-1-4-8-and-multiple-rails-apps">just doing it in lighttpd</a> except that the app doesn&#8217;t then write urls&nbsp;correctly.</li>
<li>Thanks to <a href="http://serbiancafe.wordpress.com/2005/12/05/lighttpd-configuration-files-for-multiple-rails-apps/">this lighttpd configuration guide</a> for pointing out that alias.url needs to be set as well for the public/ directory to be properly served in this kind of&nbsp;configuration.</li>
</ul>
<p>In retrospect, I probably would have been better off taking easier paths with a few things - running the app on its own subdomain, and going right to mysql both would have saved me some trouble. There still would have been a number of annoyances but that&#8217;s par for the course deploying software. Definitely not as much fun as writing the actual&nbsp;application.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2007/01/10/deploying-my-first-rails-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
