<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>XP on Rails</title>
	<link>http://xponrails.net</link>
	<description>Extreme Programming Blog</description>
	<lastBuildDate>Fri, 04 Mar 2011 14:49:31 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>How to send email asynchronously using Devise and Rails3</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

I&#8217;d show a workaround to send email asynchronously using Devise and Rails3.

Suppose we have already up and running our application with Devise and delayed_job correctly installed.

A first attempt was to add in config/initializers the following file (devise_async.rb):

#devise_async.rb
module Devise
&#160; module Models
&#160; &#160; module Confirmable
&#160; &#160; &#160; handle_asynchronously :send_confirmation_instructions
&#160; &#160; end

&#160; &#160; module Recoverable
&#160; &#160; [...]]]></description>
		<link>http://xponrails.net/2011/03/04/how-to-send-email-asynchronously-using-devise-and-rails3/</link>
			</item>
	<item>
		<title>How to implement two dropdowns dependent on each other using Django and jQuery</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

With today&#8217;s article I want to show how to implement two dropdowns dependent on each other using Django and jQuery.

Suppose we have a 1-N relationship between car brands and car models: we want to show the list of brands in the first dropdown; then once you have selected a brand, the second dropdown [...]]]></description>
		<link>http://xponrails.net/2011/02/25/how-to-implement-two-dropdowns-dependent-on-each-other-using-django-and-jquery/</link>
			</item>
	<item>
		<title>How to create a custom feed in Django using the Syndication Feed Framework</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

In this article I will show you how to create a custom feed in Django, using the Django Syndication Feed Framework 1.2 or higher.

I&#8217;ve had to create an XML with some more tags for each item in the feed. 
In particular, in addition to the usual tags present in an RSS feed, I&#8217;ve [...]]]></description>
		<link>http://xponrails.net/2011/01/31/how-to-create-a-custom-feed-in-django-using-the-syndication-feed-framework/</link>
			</item>
	<item>
		<title>How to install PostgreSQL and psycopg2 on Osx Snow Leopard</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

In my last post I showed how to install MySQL from source on Osx.
Among the many comments received, some of them suggested me to use homebrew

I recommend everyone to use this tool in order to easily install several unix packages on OSX.

Among the packages that can be installed there&#8217;s also PostgreSQL, the subject [...]]]></description>
		<link>http://xponrails.net/2010/10/06/how-to-install-postgresql-and-psycopg2-on-osx-snow-leopard/</link>
			</item>
	<item>
		<title>How to install MySQL and Rails on Osx Snow Leopard</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

These days I&#8217;ve bought a MacBook Pro with Osx Snow Leopard 64-bit pre installed.

Having to develop mainly in Rails and Django on MySQL and PostgreSQL, I&#8217;ve found some difficulties to install and properly configure all packages.

The main problems were due to the presence of 32bit libraries and other at 64bit. For example, Python [...]]]></description>
		<link>http://xponrails.net/2010/09/13/how-to-install-mysql-and-rails-on-osx-snow-leopard/</link>
			</item>
	<item>
		<title>How to create multiple Django environments using virtualenv</title>
		<description><![CDATA[ORIGINAL POST

Often we must work on various Django applications, each one dependent on different set of  libraries. 

For examples, we are working on a Django 1.1 project and and we need to start a new one with the latest version of the framework. 

The best solution is to keep the various environments separate, in [...]]]></description>
		<link>http://xponrails.net/2010/08/30/how-to-create-multiple-django-environments-using-virtualenv/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby: Chain of Responsibility</title>
		<description><![CDATA[ORIGINAL POST

Today&#8217;s post discusses the first of the behavioral pattern shown by the GoF, the chain of responsibility.

This pattern expects a series of commands to be executed and a set of objects capable to handle them.
Each of these &#8220;handler&#8221; objects can send the command to the next handler in the chain if it is not [...]]]></description>
		<link>http://xponrails.net/2010/07/30/design-patterns-in-ruby-chain-of-responsibility/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby: Adapter</title>
		<description><![CDATA[ORIGINAL POST

This second post of the series leaves for a moment the creational patterns and speaks about one of the most important structural pattern: the Adapter.

The purpose of an adapter is &#8220;to convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn&#8217;t otherwise because of incompatible interfaces.&#8221;

Suppose [...]]]></description>
		<link>http://xponrails.net/2010/07/07/design-patterns-in-ruby-adapter/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby: Abstract Factory</title>
		<description><![CDATA[ORIGINAL POST

An abstract Factory provides a common interface for creating families of related objects together.
The client object does not bother to build objects directly, but it calls the methods provided by this common interface.

Below is showed one possible implementation of an abstract Factory and its concrete Factories that implement it.

Suppose we have two categories of [...]]]></description>
		<link>http://xponrails.net/2010/06/21/design-patterns-in-ruby-abstract-factory/</link>
			</item>
	<item>
		<title>Design Patterns in Ruby: Introduction</title>
		<description><![CDATA[ORIGINAL POST

Hello everyone.

With this post I would like to start a serie of articles concerning the description of the most common design patterns and how these can be applied with the Ruby language.

In the world of software engineering you don&#8217;t need to reinvent the wheel to face daily problems: these problems are often very common [...]]]></description>
		<link>http://xponrails.net/2010/06/21/design-patterns-in-ruby-introduction/</link>
			</item>
</channel>
</rss>

