<?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>Muziboo Development Blog &#187; routing</title>
	<atom:link href="http://devblog.muziboo.com/category/routing/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.muziboo.com</link>
	<description>Muziboo development stories. Mostly set in ruby land</description>
	<lastBuildDate>Fri, 01 Apr 2011 04:52:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails 2.3 routing gotcha with :format</title>
		<link>http://devblog.muziboo.com/2009/05/06/rails-23-routing-gotcha-with-format/</link>
		<comments>http://devblog.muziboo.com/2009/05/06/rails-23-routing-gotcha-with-format/#comments</comments>
		<pubDate>Wed, 06 May 2009 14:43:50 +0000</pubDate>
		<dc:creator>prateek</dc:creator>
				<category><![CDATA[routing]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://devblog.muziboo.com/2009/05/06/rails-23-routing-gotcha-with-format/</guid>
		<description><![CDATA[
			
				
			
		
I recently upgraded Muziboo to Rails 2.3 and found out that some of my routes were broken. On digging deeper I found out that I had some routes with two version, one without :format and one with :format going to different controllers/actions. I had the route with :format before the route without :format in the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdevblog.muziboo.com%2F2009%2F05%2F06%2Frails-23-routing-gotcha-with-format%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdevblog.muziboo.com%2F2009%2F05%2F06%2Frails-23-routing-gotcha-with-format%2F&amp;source=muziboo&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I recently upgraded <a href="http://www.muziboo.com" >Muziboo</a> to Rails 2.3 and found out that some of my routes were broken. On digging deeper I found out that I had some routes with two version, one without :format and one with :format going to different controllers/actions. I had the route with :format before the route without :format in the routes.rb file and changing the order fixed the problem. I am not sure why this happened but its been working fine since the change. If you run into routing issues, do try this and let me know if it worked for you. </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=70d1c8a6-f261-838d-a447-ae81bec0ab3d" /></div>
]]></content:encoded>
			<wfw:commentRss>http://devblog.muziboo.com/2009/05/06/rails-23-routing-gotcha-with-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

