<?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>Surf Roots, Software Thoughts &#187; Ruby on Rails</title>
	<atom:link href="http://alexlod.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexlod.com</link>
	<description>A blog by Alex Loddengaard</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:25:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ruby on Rails: Building a Reverse Index for Search</title>
		<link>http://alexlod.com/2008/05/09/ruby-on-rails-building-a-reverse-index-for-search/</link>
		<comments>http://alexlod.com/2008/05/09/ruby-on-rails-building-a-reverse-index-for-search/#comments</comments>
		<pubDate>Fri, 09 May 2008 07:09:50 +0000</pubDate>
		<dc:creator>Alex Loddengaard</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.alexloddengaard.com/?p=182</guid>
		<description><![CDATA[Wow.  I&#8217;ve never been so impressed with a framework.  Take a look at this guide to create a reverse index for search in Ruby on Rails.  Here&#8217;s the basic idea: Install a gem Install a plugin Specify the fields for &#8230; <a href="http://alexlod.com/2008/05/09/ruby-on-rails-building-a-reverse-index-for-search/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wow.  I&#8217;ve never been so impressed with a framework.  Take a look at this guide to create a <a href="http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial">reverse index for search in Ruby on Rails</a>.  Here&#8217;s the basic idea:</p>
<ol>
<li>Install a gem</li>
<li>Install a plugin</li>
<li>Specify the fields for each model that should be indexed</li>
<li>Call the find_by_contents method</li>
</ol>
<p>Insane!  I used <a href="http://lucene.apache.org/java/docs/index.html">Lucene</a> with <a href="http://www.timedex.org">Timedex</a>, and I can&#8217;t even begin to explain how much more work that was.</p>
<p>So rad!</p>
]]></content:encoded>
			<wfw:commentRss>http://alexlod.com/2008/05/09/ruby-on-rails-building-a-reverse-index-for-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: Second Impression</title>
		<link>http://alexlod.com/2008/05/01/ruby-on-rails-second-impression/</link>
		<comments>http://alexlod.com/2008/05/01/ruby-on-rails-second-impression/#comments</comments>
		<pubDate>Thu, 01 May 2008 21:34:58 +0000</pubDate>
		<dc:creator>Alex Loddengaard</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.alexloddengaard.com/?p=175</guid>
		<description><![CDATA[My second impression of Ruby on Rails is again good. I&#8217;ve began to dig into it quite a bit with my developing world project. I admit that I&#8217;m still not an expert, but I do have a few things to &#8230; <a href="http://alexlod.com/2008/05/01/ruby-on-rails-second-impression/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My second impression of Ruby on Rails is again good.  I&#8217;ve began to dig into it quite a bit with my <a href="http://www.alexloddengaard.com/2008/02/08/computing-for-the-developing-world/">developing world project</a>.  I admit that I&#8217;m still not an expert, but I do have a few things to note:</p>
<p><strong>Pros</strong><br />
As everyone will tell you, Rails does a lot for you.  The amount of code you have to write is extremely small, and the code that you typically write is more interesting relative to most web code.  What I mean is that Rails code is minimized in areas such as form processing or database access, so most of your time is spent coding business logic and views.</p>
<p>Rails is insanely well supported.  There is a plugin or gem to do almost anything you want, and the support is wonderful.  Googling for Rails information always turns up good results, and the IDEs available, for example <a href="http://www.aptana.com">Aptana</a>, are super powerful.</p>
<p><strong>Cons</strong><br />
You&#8217;ll try to do everything the &#8220;Rails way.&#8221;  Rails allows you to do things by hand, for example manually include a style sheet or manually write an AJAX widget.  However, Rails also offers tools and techniques to make things such as including style sheets and writing AJAX widgets easier and faster.  This is somewhat of a catch-22, though, because I find myself spending too much time learning the &#8220;Rail way.&#8221;  I suppose this is the same with any framework &#8211; in order to use it to its full potential, there is usually a large learning curve.</p>
<p>Another con that I have not noticed first hand is performance.  I just read an article about <a href="http://www.techcrunch.com/2008/05/01/twitter-said-to-be-abandoning-ruby-on-rails/">Ruby on Rails performance problems</a>, which describes how Twitter is moving away from Ruby on Rails for performance reasons.  While reading through that article I noticed a comment about a particular <a href="http://www.cakephp.org/">PHP rapid application framework</a> called CakePHP.  I&#8217;m going to look into Cake, because it might be a pretty cool alternative to Rails.</p>
<p>More Rails updates coming soon!</p>
<p><strong>Update:</strong> Open has a good post about <a href="http://open.blogs.nytimes.com/2008/05/08/announcing-the-dbslayer-activerecord-adapter/">Ruby on Rails scalability enhancements</a>.  Another good read.</p>
<p><strong>Update2:</strong> ReadWriteWeb has an awesome article on <a href="http://www.readwriteweb.com/archives/making_twitter_scale.php">website scalability</a>, in particular about Twitter scalability.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexlod.com/2008/05/01/ruby-on-rails-second-impression/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: First Impression</title>
		<link>http://alexlod.com/2008/04/24/ruby-on-rails-first-impression/</link>
		<comments>http://alexlod.com/2008/04/24/ruby-on-rails-first-impression/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 19:11:08 +0000</pubDate>
		<dc:creator>Alex Loddengaard</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.alexloddengaard.com/?p=168</guid>
		<description><![CDATA[First impression of Ruby on Rails: awesome.  It does so many things for you, and it makes things so easy.  &#8220;Things&#8221; is a very vague term, so I plan to write a much more in-depth post when I know more. &#8230; <a href="http://alexlod.com/2008/04/24/ruby-on-rails-first-impression/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First impression of Ruby on Rails: awesome.  It does so many things for you, and it makes things so easy.  &#8220;Things&#8221; is a very vague term, so I plan to write a much more in-depth post when I know more.</p>
<p>I tried to use <a href="http://www.aptana.com">Aptana</a> as a fully enclosed IDE, but I couldn&#8217;t get it to work correctly after trying to reinstall it at least 10 times.  I followed a guide on how to install <a href="http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx">Ruby on Rails on Mac 10.4</a>; I got everything working from the command line.  Finally!</p>
<p>More Ruby on Rails updates to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexlod.com/2008/04/24/ruby-on-rails-first-impression/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

