<?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>Ruby On Rails Blog &#187; Rails</title>
	<atom:link href="http://www.mendable.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mendable.com</link>
	<description>Mendable.com - Essential Reading for Ruby on Rails Developers</description>
	<lastBuildDate>Tue, 27 Jul 2010 19:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quick and easy static pages in Rails</title>
		<link>http://www.mendable.com/quick-and-easy-static-pages-in-rails/</link>
		<comments>http://www.mendable.com/quick-and-easy-static-pages-in-rails/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 19:39:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=235</guid>
		<description><![CDATA[Sometimes you have a Rails app, the core functionality is not a CMS, and you need to add some static pages to your app that don&#8217;t get changed often, eg, an about us page, privacy policy, etc.
This post shows you a quick and easy way to do that in about 60 seconds, without using a [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/quick-and-easy-static-pages-in-rails/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Rails 3 Beta is out &#8211; check out Rails Upgrade plugin</title>
		<link>http://www.mendable.com/rails-3-beta-is-out-check-out-rails-upgrade-plugin/</link>
		<comments>http://www.mendable.com/rails-3-beta-is-out-check-out-rails-upgrade-plugin/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 15:22:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rails 3]]></category>

		<guid isPermaLink="false">http://www.mendable.com/rails-3-beta-is-out-check-out-rails-upgrade-plugin/</guid>
		<description><![CDATA[In case you haven&#8217;t heard, Rails 3 is now in Beta.
Just a quick post to say, if you haven&#8217;t already, check out the Rails upgrade plugin, this will quickly show you what bits of your code need to be updated to work with Rails 3.
Also, check out the full release notes, lots of juicy stuff [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/rails-3-beta-is-out-check-out-rails-upgrade-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing AutoTest</title>
		<link>http://www.mendable.com/installing-autotest/</link>
		<comments>http://www.mendable.com/installing-autotest/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 11:14:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[autotest]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=205</guid>
		<description><![CDATA[I think autotest is one of the best things about developing in Rails. If you don&#8217;t know, autotest runs in the background watching all of your application files. When you edit any of them, it automatically runs the sections of your test suite that apply to the modified file, and can then give you feedback [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/installing-autotest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics and Rails in 60 Seconds</title>
		<link>http://www.mendable.com/google-analytics-and-rails-in-60-seconds/</link>
		<comments>http://www.mendable.com/google-analytics-and-rails-in-60-seconds/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:23:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[ecommerce]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=167</guid>
		<description><![CDATA[This quick post will show you how to install Google Analytics into your Rails powered website in less than 60 seconds.
Before I start, I need to ask you&#8230;

 In real terms, what is each visitor to your website worth? Do you know? Would you like to find out how you can find out?
 What is [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/google-analytics-and-rails-in-60-seconds/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rails: Black Box Testing Complex Models</title>
		<link>http://www.mendable.com/rails-black-box-testing-complex-models/</link>
		<comments>http://www.mendable.com/rails-black-box-testing-complex-models/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:31:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[black box]]></category>
		<category><![CDATA[interesting ideas]]></category>
		<category><![CDATA[polymorphic]]></category>
		<category><![CDATA[scalable]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[white box]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=57</guid>
		<description><![CDATA[In this article I will show you how you can perform complete end-to-end testing of very complex models using a method called Black Box Testing. I will demonstrate a solution that scales to hundreds of tests and upwards, without having to write any additional code or fixtures for each one.
The method I am going to [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/rails-black-box-testing-complex-models/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Correct Format Plugin Released</title>
		<link>http://www.mendable.com/rails-correct-format-plugin/</link>
		<comments>http://www.mendable.com/rails-correct-format-plugin/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 16:25:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[correct-format]]></category>
		<category><![CDATA[downcase]]></category>
		<category><![CDATA[lowercase]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[upcase]]></category>
		<category><![CDATA[uppercase]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=149</guid>
		<description><![CDATA[I have released a new Plugin for Rails, called Correct-Format.
Github URL: github.com/mendable/correct-format

This plugin allows you to automatically correct simple user input mistakes
and format user-input without raising an ActiveRecord Error and without
inserting inconsistently formatted data into your database. Using this
plugin will enhance the usability and user-friendlyness of your application
and increase your data integrity.


You can automatically:


Make a [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/rails-correct-format-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understand Named_scope in 60 seconds</title>
		<link>http://www.mendable.com/understand-named_scope-in-60-seconds/</link>
		<comments>http://www.mendable.com/understand-named_scope-in-60-seconds/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 17:11:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[named_scope]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=141</guid>
		<description><![CDATA[Named scope was introduced in Rails 2.x, it allows you to filter a selection of records easily and repeatedly, without having to write finder SQL all the time.

class Customer < ActiveRecord::Base
  has_many :carts
end

class Cart < ActiveRecord::Base
  belongs_to :customer
  named_scope :completed, :conditions => ["NOT ISNULL(completed_at)"]
end


Example of self-model scoping and finding:

# All completed carts [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/understand-named_scope-in-60-seconds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto Display a GitHub Changelog in your application</title>
		<link>http://www.mendable.com/howto-display-a-github-changelog-in-your-application/</link>
		<comments>http://www.mendable.com/howto-display-a-github-changelog-in-your-application/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 15:38:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[changelog]]></category>
		<category><![CDATA[commit log]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[interesting ideas]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=117</guid>
		<description><![CDATA[In this post I will show you a simple way to display a list of your GitHub changes inside your application.



This can be useful for so many reasons, not least helping to create a better relationship between your users and your developers. This obviously would not be applicable in all circumstances, but in many cases, [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/howto-display-a-github-changelog-in-your-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Set your Rails Environment Globally</title>
		<link>http://www.mendable.com/set-your-rails-environment-globally/</link>
		<comments>http://www.mendable.com/set-your-rails-environment-globally/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 10:57:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[rails_env]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=92</guid>
		<description><![CDATA[In much of the rails documentation it is suggested that when you want to run a task in a specific environment, you should set the RAILS_ENV environment variable on the command line where you are running the task. 
For example, assume you want to run rake db:migrate on the production system (should be done automatically [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/set-your-rails-environment-globally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting User&#8217;s Locale Based on Domain Name In Rails</title>
		<link>http://www.mendable.com/setting-users-locale-based-on-domain-name-in-rails/</link>
		<comments>http://www.mendable.com/setting-users-locale-based-on-domain-name-in-rails/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 20:25:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[before_filter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.mendable.com/?p=82</guid>
		<description><![CDATA[In this tutorial I will show how you can quickly set the user&#8217;s locale based on the domain name they use to access your website. Let us assume you have your app, and you also own your own domain in several different country TLD&#8217;s, let&#8217;s say, you have example.com (main site), example.co.uk, example.fr, example.it example.es, [...]]]></description>
		<wfw:commentRss>http://www.mendable.com/setting-users-locale-based-on-domain-name-in-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
