<?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>Barbary Codes and Data &#187; railsBarbary Codes and Data</title>
	<atom:link href="http://www.barbarycodes.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barbarycodes.com</link>
	<description>Web and Mobile Development for Lean Startups</description>
	<lastBuildDate>Tue, 03 Apr 2012 17:51:33 +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>TextMate Pattern to Exclude Rails&#039; vendor Directory (most of the time)</title>
		<link>http://www.barbarycodes.com/2011/01/01/textmate-pattern-to-exclude-rails-vendor-directory-most-of-the-time/</link>
		<comments>http://www.barbarycodes.com/2011/01/01/textmate-pattern-to-exclude-rails-vendor-directory-most-of-the-time/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 20:28:59 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=141</guid>
		<description><![CDATA[It&#8217;s useful to (a) exclude the vendor directory from normal TextMate projects, but (b) still be able to pull up the Rails source under vendor/rails from time to time. If you simply add vendor to the TextMate Folder Pattern, you&#8217;ll get (a) but not (b). To get both, add vendor$. Here are the patterns I&#8230; <a href="http://www.barbarycodes.com/2011/01/01/textmate-pattern-to-exclude-rails-vendor-directory-most-of-the-time/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2011/01/01/textmate-pattern-to-exclude-rails-vendor-directory-most-of-the-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All Ruby Code Should Use Explicit Returns (Especially With Rails)</title>
		<link>http://www.barbarycodes.com/2010/10/07/all-ruby-code-should-use-explicit-returns-especially-with-rails/</link>
		<comments>http://www.barbarycodes.com/2010/10/07/all-ruby-code-should-use-explicit-returns-especially-with-rails/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 23:40:36 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=128</guid>
		<description><![CDATA[A lot of people who enter programming through hacking around with scripting languages rather than formal computer science educations don&#8217;t understand certain fundamentals such as the difference between functional and non-functional programming models (hint: Ruby isn&#8217;t functional). One of the Rails core team members argues that explicit return statements in Ruby code is a bad thing.&#8230; <a href="http://www.barbarycodes.com/2010/10/07/all-ruby-code-should-use-explicit-returns-especially-with-rails/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2010/10/07/all-ruby-code-should-use-explicit-returns-especially-with-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Class Attributes Are Not Thread Safe</title>
		<link>http://www.barbarycodes.com/2010/03/02/ruby-class-attributes-are-not-thread-safe/</link>
		<comments>http://www.barbarycodes.com/2010/03/02/ruby-class-attributes-are-not-thread-safe/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 22:28:52 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=109</guid>
		<description><![CDATA[Don&#8217;t use cattr_accessor, use Thread.current[].  Also note Rails bug 3457.]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2010/03/02/ruby-class-attributes-are-not-thread-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Notes To Self Regarding ThinkingSphinx</title>
		<link>http://www.barbarycodes.com/2010/02/03/random-notes-to-self-regarding-thinkingsphinx/</link>
		<comments>http://www.barbarycodes.com/2010/02/03/random-notes-to-self-regarding-thinkingsphinx/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 05:31:36 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=100</guid>
		<description><![CDATA[You&#8217;re supposed to remember more of what you write, right? On ThinkingSphinx: Attributes are used for sorting, filtering and grouping your search results. Their values do not get paid any attention by Sphinx for search terms, though, and they’re limited to the following data types: integers, floats, datetimes (as Unix timestamps – and thus integers&#8230; <a href="http://www.barbarycodes.com/2010/02/03/random-notes-to-self-regarding-thinkingsphinx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2010/02/03/random-notes-to-self-regarding-thinkingsphinx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix for Glassfish spontaneously exiting under Capistrano</title>
		<link>http://www.barbarycodes.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/</link>
		<comments>http://www.barbarycodes.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 18:55:55 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=93</guid>
		<description><![CDATA[I&#8217;m using Capistrano to deploy a Rails app running under JRuby via the Glassfish gem. For no apparent reason, the Glassfish Java process would exit immediately when started via Capistrano, but not when started via plain SSH or locally via the command line. I finally tracked this down to the following in my deploy.rb file:&#8230; <a href="http://www.barbarycodes.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Manage Mysql Foreign Keys Under JRuby</title>
		<link>http://www.barbarycodes.com/2009/12/15/manage-mysql-foreign-keys-under-jruby/</link>
		<comments>http://www.barbarycodes.com/2009/12/15/manage-mysql-foreign-keys-under-jruby/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 18:00:04 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=90</guid>
		<description><![CDATA[I just added support to the Foreigner gem for the jdbcmysql adapter, so it will work when running under JRuby: http://github.com/barbarycodes/foreigner/]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2009/12/15/manage-mysql-foreign-keys-under-jruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Rake Tasks with JRuby</title>
		<link>http://www.barbarycodes.com/2009/11/17/running-rake-tasks-with-jruby/</link>
		<comments>http://www.barbarycodes.com/2009/11/17/running-rake-tasks-with-jruby/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 22:35:57 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=82</guid>
		<description><![CDATA[Recently I&#8217;ve been integrating UIMA with a Rails application in order to provide natural language processing capabilities. This gave me a good excuse to try JRuby, which has been gaining a lot of momentum as a better-performing alternative to the native Ruby interpreter (MRI). (I should write a blog post on the overall experience with&#8230; <a href="http://www.barbarycodes.com/2009/11/17/running-rake-tasks-with-jruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2009/11/17/running-rake-tasks-with-jruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reaction to The Platform Scalability Project&#8230; Comparing Rails &amp; PHP</title>
		<link>http://www.barbarycodes.com/2009/03/18/reaction-to-the-platform-scalability-project-comparing-rails-php/</link>
		<comments>http://www.barbarycodes.com/2009/03/18/reaction-to-the-platform-scalability-project-comparing-rails-php/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 18:06:46 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=73</guid>
		<description><![CDATA[Last night I attended a very interesting talk by William Sobel (founder of the fine East Bay Ruby Meetup) and Akara Sucharitakul about Olio, a project to compare the performance of web application stacks.  The initial research compared PHP5 and Rails2 and (grossly paraphrasing here) concluded that PHP supports about three times as many users as Rails (for the&#8230; <a href="http://www.barbarycodes.com/2009/03/18/reaction-to-the-platform-scalability-project-comparing-rails-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2009/03/18/reaction-to-the-platform-scalability-project-comparing-rails-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freezing rmagick in vendor/gems</title>
		<link>http://www.barbarycodes.com/2009/01/23/freezing-rmagick-in-vendorgems/</link>
		<comments>http://www.barbarycodes.com/2009/01/23/freezing-rmagick-in-vendorgems/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 20:50:30 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=68</guid>
		<description><![CDATA[You can freeze the rmagick gem in vendors/gems using the normal process (first &#8220;gem install&#8221; it on your local system, then &#8220;rake gems:unpack&#8221; to copy it into vendors/gems). RMagick requires ImageMagick to be installed first, so you&#8217;ll need to take care of that using the platform-specific way (e.g., &#8220;port install ImageMagick&#8221; on OS X). This&#8230; <a href="http://www.barbarycodes.com/2009/01/23/freezing-rmagick-in-vendorgems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2009/01/23/freezing-rmagick-in-vendorgems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patching ActiveSalesforce for Rails 2.2.2</title>
		<link>http://www.barbarycodes.com/2008/12/03/patching-activesalesforce-for-rails-222/</link>
		<comments>http://www.barbarycodes.com/2008/12/03/patching-activesalesforce-for-rails-222/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 00:57:52 +0000</pubDate>
		<dc:creator>tjones@barbarycodes.com</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=65</guid>
		<description><![CDATA[Here&#8217;s what I did to get ActiveSalesforce working under Rails 2.2.2: $ gem install activerecord-activesalesforce-adapter apply the following patch to lib/active_record/connection_adapters/activesalesforce_adapter.rb: 698c698,700 &#60; referenced_klass.connection = klass.connection --- &#62; def referenced_klass.connection &#62; klass.connection &#62; end 705c707 &#60; klass.belongs_to referenceName.to_sym, :class_name =&#62; referenced_klass.name, :foreign_key =&#62; foreign_key, :dependent =&#62; :nullify --- &#62; klass.belongs_to referenceName.to_sym, :class_name =&#62; referenced_klass.name, :foreign_key&#8230; <a href="http://www.barbarycodes.com/2008/12/03/patching-activesalesforce-for-rails-222/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.barbarycodes.com/2008/12/03/patching-activesalesforce-for-rails-222/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

