<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9" -->
<rss version="0.92">
<channel>
	<title>Rails Garden</title>
	<link>http://www.railsgarden.com</link>
	<description>A delicious blend of Ruby and Rails...</description>
	<lastBuildDate>Mon, 06 Apr 2009 05:05:46 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Take Control of your Field Values with nilify_blanks</title>
		<description><![CDATA[If in your data schema most or all of your fields are NULLable (the Rails default in migrations), you may have run into the issue whereby sometimes your fields are blank and sometimes they are NULL, two distinct representations of a &#8220;no data&#8221; state.  This arises in Rails often because when you submit a form [...]]]></description>
		<link>http://www.railsgarden.com/2009/01/07/take-control-of-your-field-values-with-nilify_blanks/</link>
			</item>
	<item>
		<title>The Economics of Supporting IE6</title>
		<description><![CDATA[I recently had a frustrating discussion with a developer friend of mine concerning building web applications to support Internet Explorer 6 that highlighted a recurring theme of technology people misunderstanding business and economic decision-making.  In it I found myself trying to defend a deliberate decision in an application I develop not to support IE6.  His [...]]]></description>
		<link>http://www.railsgarden.com/2009/01/03/the-economics-of-supporting-ie6/</link>
			</item>
	<item>
		<title>ActiveRecord Drafts with has_draft</title>
		<description><![CDATA[I ran into a problem a while back of creating draft copies of ActiveRecord models for the purpose of establishing a draft/live system.  I&#8217;ve since found a reason to resurrect this and publish it to GitHub and clean some things up.  Check out has_draft on GitHub.
has_draft allows for multiple &#8220;drafts&#8221; of a model [...]]]></description>
		<link>http://www.railsgarden.com/2008/12/30/activerecord-drafts-with-has_draft/</link>
			</item>
	<item>
		<title>message_block: a error_messages_for replacement for flash message and model error handling</title>
		<description><![CDATA[
One of the most common needs in any application I build is to have some abstract way of handling messages to end users.  Sometimes I&#8217;ll want to show a confirmation message or a warning.  Other times I&#8217;ll want to show a confirmation message but also show ActiveRecord validations.  While the error_messages_for helper in Rails works [...]]]></description>
		<link>http://www.railsgarden.com/2008/11/26/message_block-a-error_messages_for-replacement-for-flash-message-and-model-error-handling/</link>
			</item>
	<item>
		<title>Inverting Permission-Based Filtering with named_scope</title>
		<description><![CDATA[The addition of named_scope in Rails 2.1 has revealed several elegant approaches for modeling complex problem domains in ActiveRecord.  One I came across recently while working on an app with a somewhat complex permissions system was a permission-based filtering mechanism.  In this case I was dealing with permission for a given user to manage an [...]]]></description>
		<link>http://www.railsgarden.com/2008/07/05/inverting-permission-based-filtering-with-named_scope/</link>
			</item>
	<item>
		<title>Pleasing the JavaScript Download Time Whiners</title>
		<description><![CDATA[To me, the benefit of using JavaScript frameworks in an application cannot be overstated.  Though I&#8217;m also a fan of server-side frameworks, there is scarcely a reason not to use a client-side framework these days.  Of course the most common complaint against JavaScript frameworks is &#8220;bloat&#8221; and the long download time.  Funny that the most [...]]]></description>
		<link>http://www.railsgarden.com/2008/06/28/pleasing-the-javascript-download-time-whiners/</link>
			</item>
	<item>
		<title>named_scope with acts_as_tree</title>
		<description><![CDATA[I fairly often use the acts_as_tree plugin in my applications.  While acts_as_nested_set (and superior variants..) is more powerful, often times a simple two-level deep hierarchy is all I need and acts_as_tree is simple.  I&#8217;ve found the new named_scope functionality in Rails 2.1 to be very helpful when dealing with tree data structures.
Firstly, it&#8217;s somewhat rare [...]]]></description>
		<link>http://www.railsgarden.com/2008/06/25/named_scope-with-acts_as_tree/</link>
			</item>
	<item>
		<title>Mac OS 10.5.3 Fixes Spaces</title>
		<description><![CDATA[Though I&#8217;ve been extremely happy with leopard (in fact, why I finally bought a Mac), little quirks with spaces were frustrating.  Specifically, spaces seems to have been designed for users who want to place a separate application in each space.  I use spaces in a task-oriented manner where each space typically has a Firefox window, [...]]]></description>
		<link>http://www.railsgarden.com/2008/06/04/mac-os-1053-fixes-spaces/</link>
			</item>
	<item>
		<title>Configuring Passenger (mod_rails) on SliceHost with Ubuntu 7.10</title>
		<description><![CDATA[I had an opportunity to play around with Phusion Passenger (mod_rails) which was just released yesterday.  Before yesterday all that was available was an introductory video showing Passenger being configured, and I was quite impressed by it&#8217;s ease.  Clearly one of the problems with Rails as a major platform right now is it&#8217;s [...]]]></description>
		<link>http://www.railsgarden.com/2008/04/12/configurating-passenger-mod_rails-on-slicehost-with-ubuntu-710/</link>
			</item>
	<item>
		<title>Ruby on Rails is going down! Introducing: Cobol on Cogs:</title>
		<description><![CDATA[I am convinced this is the next big thing: Cobol on Cogs.  Definitely the future of web development.  As of today I renounce Ruby on Rails and all it stands for!
]]></description>
		<link>http://www.railsgarden.com/2008/04/01/ruby-on-rails-is-going-down-introducing-cobol-on-cogs/</link>
			</item>
</channel>
</rss>
