<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><description>This is my new sandbox… I might pee here, too.</description><title>The Reverend</title><generator>Tumblr (3.0; @thereverend)</generator><link>http://thereverend.tumblr.com/</link><item><title>I heart Passenger</title><description>&lt;p&gt;Alright, I know I’m definitely late to the party here, but I’ve been busy with work so that’s my excuse for just now giving Passenger/mod_rails a shot.&lt;/p&gt;
&lt;p&gt;And let me tell you: I LOVE THIS STUFF! I have the smallest slice money can buy on Slicehost (256 MB) and as of last night, I have not one, but two small sites running on one slice. Both on Passenger, and both are lightning fast. I didn’t do any real benchmark testing, but I can tell just by clicking around on the sites, they’re probably twice as fast now that they’re on one Slice running on Passenger as they were on two SEPARATE slices on Mongrel/Nginx.&lt;/p&gt;
&lt;p&gt;Don’t get me wrong… Mongrel/Nginx definitely saved all of our asses back when it came out. I’ll never forget how happy I was to get away from Lighttpd, but this… well, this is awesome!&lt;/p&gt;
&lt;p&gt;Anyway… if you haven’t given Passenger a shot yet then I’d say it’s definitely time. It’ll work on a shared host (meaning you won’t have to cringe at the thought of telling a client they’ll be shelling out $40-$50 a month for a VPS) and it along with Capistrano, your deployment time goes way down.&lt;/p&gt;
&lt;p&gt;Couldn’t be happier… Honestly. Start using it now. Find out how here: &lt;a href="http://peepcode.com/products/phusion-passenger"&gt;&lt;a href="http://peepcode.com/products/phusion-passenger"&gt;http://peepcode.com/products/phusion-passenger&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/47008853</link><guid>http://thereverend.tumblr.com/post/47008853</guid><pubDate>Fri, 22 Aug 2008 12:41:38 -0700</pubDate></item><item><title>This looks cool...</title><description>&lt;a href="http://www.noupe.com/javascript/23-impressive-tools-for-faster-javascriptajax-development.html"&gt;This looks cool...&lt;/a&gt;</description><link>http://thereverend.tumblr.com/post/39950217</link><guid>http://thereverend.tumblr.com/post/39950217</guid><pubDate>Thu, 26 Jun 2008 10:46:54 -0700</pubDate></item><item><title>Amazon.com is down. At this point the site’s been down for...</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE9wp4dogF0a8DSCc_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;Amazon.com is down. At this point the site’s been down for well over an hour and maybe even longer. Someone will never work in this town again…</description><link>http://thereverend.tumblr.com/post/37431129</link><guid>http://thereverend.tumblr.com/post/37431129</guid><pubDate>Fri, 06 Jun 2008 12:05:11 -0700</pubDate></item><item><title>Rails, Routes, REST and a resource with a singular name.</title><description>&lt;p&gt;So Brad, Mark, and I are sitting at work watching the new Rails Routes Peepcode and someone asked “What happens if you do ‘map.resources :page’ vs. ‘map.resources :pages’”. Be default, we thought Rails would crap out when you did that because page_path would expect an :id, and how would you get the collection (eg. pages_path wouldn’t exist).&lt;/p&gt;
&lt;p&gt;After putting map.resources :page into routes.rb and running rake routes, we quickly learned that this has been accounted for with object_index_path… See below:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i99.photobucket.com/albums/l304/joshnabbott/Picture-5.jpg" alt="Rails 2.1 Routes" width="500" height="146"/&gt;&lt;/p&gt;
&lt;p&gt;And further proven in console:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i99.photobucket.com/albums/l304/joshnabbott/Picture-6.jpg" alt="Rails 2.1 Routes" width="500" height="161"/&gt;&lt;/p&gt;
&lt;p&gt;I’m not really sure when this change was implemented, or if it was maybe there all along, but that’s an interesting little tidbit. If you ever need a resource to be name singularly, you’re fine, just use page_index_path for the collection, and then page_path(:id) for the member.&lt;/p&gt;
&lt;p&gt;Not bad, Rails Team.&lt;/p&gt;
&lt;p&gt;P.S. Brad is the one that caught this in the output from rake routes. Good eye, man!&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/37047490</link><guid>http://thereverend.tumblr.com/post/37047490</guid><pubDate>Tue, 03 Jun 2008 11:52:00 -0700</pubDate></item><item><title>Rails 2.1 Action Caching</title><description>&lt;p&gt;Ok, as a little disclaimer, I haven’t used a *ton* of action caching, so this may be old news to everyone out there, but just in case there’s someone out there wondering about where the cached fragments go, here’s what I dug out of the Rails source earlier today:&lt;/p&gt; &lt;pre&gt;&lt;p&gt;Configuration examples (MemoryStore is the default): &lt;/p&gt;&lt;p&gt;ActionController::Base.cache_store = :memory_store &lt;/p&gt;&lt;p&gt;ActionController::Base.cache_store = :file_store, "/path/to/cache/directory" &lt;/p&gt;&lt;p&gt;ActionController::Base.cache_store = :drb_store, "druby://localhost:9192" &lt;/p&gt;&lt;p&gt;ActionController::Base.cache_store = :mem_cache_store, "localhost" &lt;/p&gt;&lt;p&gt;ActionController::Base.cache_store = MyOwnStore.new("parameter") &lt;/p&gt;&lt;/pre&gt; &lt;p&gt;I found that little helpful bit of info here: &lt;a href="http://dev.rubyonrails.org/changeset/8393"&gt;&lt;a href="http://dev.rubyonrails.org/changeset/8393"&gt;http://dev.rubyonrails.org/changeset/8393&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/36941827</link><guid>http://thereverend.tumblr.com/post/36941827</guid><pubDate>Mon, 02 Jun 2008 15:53:18 -0700</pubDate></item><item><title>Rails 2.1 is here (as of last Saturday @ RailsConf).</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE9qvwn5zN71us2im_r2_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;Rails 2.1 is here (as of last Saturday @ RailsConf).</description><link>http://thereverend.tumblr.com/post/36912872</link><guid>http://thereverend.tumblr.com/post/36912872</guid><pubDate>Mon, 02 Jun 2008 10:28:00 -0700</pubDate></item><item><title>Rails 2.1 Release Candidate is out</title><description>&lt;p&gt;For those of you who follow &lt;a href="http://twitter.com/d2h/statuses/808936705" title="http://twitter.com/d2h/statuses/808936705"&gt;DHH on Twitter&lt;/a&gt; it will come as no surprise that the Rails 2.1 Release Candidate is out.&lt;/p&gt;
&lt;p&gt;For those of you who don’t… the Rails 2.1 Release Candidate is out.&lt;/p&gt;
&lt;p&gt;Get it by running this command:&lt;/p&gt;
&lt;pre&gt;sudo gem install rails --source &lt;a href="http://gems.rubyonrails.com/"&gt;http://gems.rubyonrails.com/&lt;/a&gt;&lt;/pre&gt;
&lt;p&gt;Check to see if it worked by running: &lt;/p&gt;
&lt;pre&gt;rails -v&lt;/pre&gt;
&lt;p&gt;And you should see:&lt;/p&gt;
&lt;pre&gt;Rails 2.0.991&lt;/pre&gt;</description><link>http://thereverend.tumblr.com/post/34603990</link><guid>http://thereverend.tumblr.com/post/34603990</guid><pubDate>Mon, 12 May 2008 18:58:24 -0700</pubDate></item><item><title>Migrate your SVN repository to GIT</title><description>&lt;p&gt;So I got bit by the git bug. Hmm… nice sentence. Anyway… last night I was at the OC Ruby Group and &lt;a href="http://thinkingdigitally.com/"&gt;Rob Olson&lt;/a&gt; made an excellent presentation on git. And seeing as how Rails, Merb, RSpec and numerous other projects that affect me have moved to GitHub, I figured I may as well learn it. So, my first step was to migrate a personal project I’ve been working on from Subversion over to Git. Thanks to google, and &lt;a href="http://www.simplisticcomplexity.com"&gt;Jon Maddox&lt;/a&gt; it couldn’t have been easier.&lt;/p&gt;
&lt;p&gt;Go see for yourself: &lt;a href="http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/"&gt;&lt;a href="http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/"&gt;http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/&lt;/a&gt;&lt;/a&gt;.&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/32860502</link><guid>http://thereverend.tumblr.com/post/32860502</guid><pubDate>Fri, 25 Apr 2008 10:56:47 -0700</pubDate></item><item><title>i feel like this.</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE7ny8kptQgXL4rNS_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;i feel like this.</description><link>http://thereverend.tumblr.com/post/31435952</link><guid>http://thereverend.tumblr.com/post/31435952</guid><pubDate>Thu, 10 Apr 2008 23:53:34 -0700</pubDate></item><item><title>The coolest man in the world.</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE7gflgywy9sso3i1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;The coolest man in the world.</description><link>http://thereverend.tumblr.com/post/30904846</link><guid>http://thereverend.tumblr.com/post/30904846</guid><pubDate>Sat, 05 Apr 2008 17:37:31 -0700</pubDate></item><item><title> Windows Vista source code?</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE7gbf3udG9AJbyXM_500.gif"/&gt;&lt;br/&gt;&lt;br/&gt; Windows Vista source code?</description><link>http://thereverend.tumblr.com/post/30898705</link><guid>http://thereverend.tumblr.com/post/30898705</guid><pubDate>Sat, 05 Apr 2008 15:40:00 -0700</pubDate></item><item><title>You called render with invalid options : Edge Rails and RSpec</title><description>&lt;p&gt;If you’re developing in edge rails and get an error like this when running controller specs:&lt;/p&gt;
&lt;pre&gt;You called render with invalid options : { :some_action }, nil&lt;/pre&gt;You’re probably not doing anything wrong. It took me some googling to figure that out, but here’s what I turned up: &lt;a href="http://rspec.lighthouseapp.com/projects/5645/tickets/294-controller-examples-fail-when-calling-render"&gt;&lt;a href="http://rspec.lighthouseapp.com/projects/5645/tickets/294-controller-examples-fail-when-calling-render"&gt;http://rspec.lighthouseapp.com/projects/5645/tickets/294-controller-examples-fail-when-calling-render&lt;/a&gt;&lt;/a&gt;&lt;p&gt;The way to remedy is simple enough and can be found here: &lt;a href="http://rspec.rubyforge.org/documentation/rails/install.html"&gt;&lt;a href="http://rspec.rubyforge.org/documentation/rails/install.html"&gt;http://rspec.rubyforge.org/documentation/rails/install.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or you can take my word for it and run these two pretty little lines:&lt;/p&gt;
&lt;pre&gt;ruby script/plugin install -x svn://rubyforge.org/var/svn/rspec/trunk/rspec --force&lt;br/&gt;ruby script/plugin install -x svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails --force&lt;/pre&gt;
&lt;p&gt;I’m not sure if it was necessary or not, but I re-ran this command after the above two lines:&lt;/p&gt;
&lt;pre&gt;ruby script/generate rspec&lt;/pre&gt;
&lt;p&gt;Everything works like a charm now.&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/30646301</link><guid>http://thereverend.tumblr.com/post/30646301</guid><pubDate>Thu, 03 Apr 2008 00:15:00 -0700</pubDate></item><item><title>Wanna see my newest tattoo?</title><description>&lt;p&gt;Here’s some pictures: http://flickr.com/photos/joshnabbott/sets/72157604352688589/&lt;/p&gt;
&lt;p&gt;I also posted some other goodies on there… browse around. &lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/30530145</link><guid>http://thereverend.tumblr.com/post/30530145</guid><pubDate>Tue, 01 Apr 2008 21:32:55 -0700</pubDate></item><item><title>Yikes.</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE7avycx1EcgRxNOp_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;Yikes.</description><link>http://thereverend.tumblr.com/post/30525851</link><guid>http://thereverend.tumblr.com/post/30525851</guid><pubDate>Tue, 01 Apr 2008 20:28:57 -0700</pubDate></item><item><title>he he. So hell does exist, and it can freeze over.</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE67q9ny9wbMifhsr_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;he he. So hell does exist, and it can freeze over.</description><link>http://thereverend.tumblr.com/post/28035184</link><guid>http://thereverend.tumblr.com/post/28035184</guid><pubDate>Wed, 05 Mar 2008 09:47:47 -0800</pubDate></item><item><title>Time Changes Things...</title><description>&lt;p&gt;It’s finding ways to make time pass that’s not easy&lt;/p&gt;
&lt;p&gt;Of course I spend so much of my time just making time pass&lt;/p&gt;
&lt;p&gt;That by the time i’m ok&lt;/p&gt;
&lt;p&gt;There may not be much of it left&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/27812485</link><guid>http://thereverend.tumblr.com/post/27812485</guid><pubDate>Sun, 02 Mar 2008 22:49:42 -0800</pubDate></item><item><title>This guy is awesome</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE5z8c02sUu9FsrPL_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;This guy is awesome</description><link>http://thereverend.tumblr.com/post/27539261</link><guid>http://thereverend.tumblr.com/post/27539261</guid><pubDate>Thu, 28 Feb 2008 11:03:43 -0800</pubDate></item><item><title>FYI Dreamhost + Rails</title><description>&lt;p&gt;Dreamhost has upgraded to Rails version 2.0.2.&lt;/p&gt;
&lt;p&gt;If your app (or rails site) has broken recently, that’s might be why. Check to make sure you don’t have any &lt;/p&gt;
&lt;pre&gt;@params[:bloody_hell]&lt;/pre&gt;
&lt;p&gt; in your controllers (which is old stuff, too.)&lt;/p&gt;
&lt;p&gt; If you’re having any other weird issues, drop me a line at joshnabbottATmacDOTcom and I may be able to shed some light on the problems.&lt;/p&gt;
&lt;p&gt;Lots of love, Josh&lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/23166341</link><guid>http://thereverend.tumblr.com/post/23166341</guid><pubDate>Sun, 06 Jan 2008 22:25:00 -0800</pubDate></item><item><title>What a surprise.</title><description>&lt;img src="http://media.tumblr.com/jZdtTPSQE3m41c9mpnAqALiY_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;What a surprise.</description><link>http://thereverend.tumblr.com/post/22691764</link><guid>http://thereverend.tumblr.com/post/22691764</guid><pubDate>Sun, 30 Dec 2007 20:23:03 -0800</pubDate></item><item><title>Why I don't heart IE</title><description>&lt;p&gt;It’s simple. Because IE doesn’t do anything the same as other browsers.&lt;/p&gt;
&lt;p&gt;Microsoft Team:&lt;/p&gt;
&lt;p&gt;Please fix. &lt;/p&gt;</description><link>http://thereverend.tumblr.com/post/22632772</link><guid>http://thereverend.tumblr.com/post/22632772</guid><pubDate>Sat, 29 Dec 2007 18:12:04 -0800</pubDate></item></channel></rss>
