<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Breadcrumbs in Rails</title>
	<atom:link href="http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/</link>
	<description>a blog about building stuff on the web</description>
	<lastBuildDate>Mon, 09 Jan 2012 18:55:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Anu</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1365</link>
		<dc:creator>Anu</dc:creator>
		<pubDate>Sun, 12 Dec 2010 21:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1365</guid>
		<description>Good point! </description>
		<content:encoded><![CDATA[<p>Good point!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Fraser</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1035</link>
		<dc:creator>Josh Fraser</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1035</guid>
		<description>Thanks for sharing.  Interesting stuff. </description>
		<content:encoded><![CDATA[<p>Thanks for sharing.  Interesting stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Greeb</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1034</link>
		<dc:creator>Anthony Greeb</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1034</guid>
		<description>Worth reading &quot;The problem with breadcrumb trails&quot; before going all out &lt;a href=&quot;http://derivadow.com/2010/02/18/the-problem-with-breadcrumb-trails&quot; rel=&quot;nofollow&quot;&gt;http://derivadow.com/2010/02/18/the-problem-with-...&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Worth reading &quot;The problem with breadcrumb trails&quot; before going all out <a href="http://derivadow.com/2010/02/18/the-problem-with-breadcrumb-trails" rel="nofollow">http://derivadow.com/2010/02/18/the-problem-with-&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @randland</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1023</link>
		<dc:creator>@randland</dc:creator>
		<pubDate>Tue, 22 Jun 2010 15:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1023</guid>
		<description>Rewrote breadcrumb generator to handle resources and actions via Routes.recognize_path... &lt;a href=&quot;http://gist.github.com/448656&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/448656&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Rewrote breadcrumb generator to handle resources and actions via Routes.recognize_path&#8230; <a href="http://gist.github.com/448656" rel="nofollow">http://gist.github.com/448656</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: weppos</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1019</link>
		<dc:creator>weppos</dc:creator>
		<pubDate>Mon, 21 Jun 2010 09:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1019</guid>
		<description>Sometimes, you can&#039;t rely on the URL because it doesn&#039;t contain all the necessary information. 
For this reason (and to get more flexibility), I created &lt;a href=&quot;http://github.com/weppos/breadcrumbs_on_rails&quot; rel=&quot;nofollow&quot;&gt;http://github.com/weppos/breadcrumbs_on_rails&lt;/a&gt;. 
 
Feel free to try it and let me know your feedback :) </description>
		<content:encoded><![CDATA[<p>Sometimes, you can&#39;t rely on the URL because it doesn&#39;t contain all the necessary information.<br />
For this reason (and to get more flexibility), I created <a href="http://github.com/weppos/breadcrumbs_on_rails" rel="nofollow">http://github.com/weppos/breadcrumbs_on_rails</a>. </p>
<p>Feel free to try it and let me know your feedback <img src='http://www.onlineaspect.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @indirect</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1013</link>
		<dc:creator>@indirect</dc:creator>
		<pubDate>Sun, 20 Jun 2010 07:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1013</guid>
		<description>Nearly all that code is unnecessary if you are using resources in Rails. You don&#039;t even need to parse the URL (which is kind of gross, IMHO). Something like this should do everything: &lt;a href=&quot;http://gist.github.com/445652&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/445652&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Nearly all that code is unnecessary if you are using resources in Rails. You don&#39;t even need to parse the URL (which is kind of gross, IMHO). Something like this should do everything: <a href="http://gist.github.com/445652" rel="nofollow">http://gist.github.com/445652</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Fraser</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1010</link>
		<dc:creator>Josh Fraser</dc:creator>
		<pubDate>Sun, 20 Jun 2010 06:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1010</guid>
		<description>oooh very nice.  i like that a lot. </description>
		<content:encoded><![CDATA[<p>oooh very nice.  i like that a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @mtodd</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1009</link>
		<dc:creator>@mtodd</dc:creator>
		<pubDate>Sun, 20 Jun 2010 06:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1009</guid>
		<description>Thinking about it, I was kinda disappointed that there wasn&#039;t an obvious way to iterate over an array with the previous and the next elements conveniently available. Seeing the Enumerable#each_cons method, I saw that it was most like what I wanted, so I decided to hack this together: 
  &lt;a href=&quot;http://gist.github.com/445605&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/445605&lt;/a&gt; 
 
Wrapping this further there may be a way to define methods Enumerable#first? and Enumerable#last? to make it easier to add tests without requiring tracking the index, et al. 
 </description>
		<content:encoded><![CDATA[<p>Thinking about it, I was kinda disappointed that there wasn&#39;t an obvious way to iterate over an array with the previous and the next elements conveniently available. Seeing the Enumerable#each_cons method, I saw that it was most like what I wanted, so I decided to hack this together:<br />
  <a href="http://gist.github.com/445605" rel="nofollow">http://gist.github.com/445605</a> </p>
<p>Wrapping this further there may be a way to define methods Enumerable#first? and Enumerable#last? to make it easier to add tests without requiring tracking the index, et al.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @mtodd</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1008</link>
		<dc:creator>@mtodd</dc:creator>
		<pubDate>Sun, 20 Jun 2010 06:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1008</guid>
		<description>Just to clarify, I changed the call to Record#name to be Record#display_name and then I would define a custom method on each of the models that would show up in the breadcrumb, allowing for lots of customization and defaults. For example: 
 
class User &lt; ActiveRecord::Base 
  def display_name 
    &quot;%s %s&quot; % [self.first_name, self.last_initial] 
  end 
end 
 
or even 
 
 
class Post &lt; ActiveRecord::Base 
  alias_method :display_name, :title 
end 
 </description>
		<content:encoded><![CDATA[<p>Just to clarify, I changed the call to Record#name to be Record#display_name and then I would define a custom method on each of the models that would show up in the breadcrumb, allowing for lots of customization and defaults. For example: </p>
<p>class User &lt; ActiveRecord::Base<br />
  def display_name<br />
    &quot;%s %s&quot; % [self.first_name, self.last_initial]<br />
  end<br />
end </p>
<p>or even </p>
<p>class Post &lt; ActiveRecord::Base<br />
  alias_method :display_name, :title<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Fraser</title>
		<link>http://www.onlineaspect.com/2010/06/19/breadcrumbs-in-rails/comment-page-1/#comment-1006</link>
		<dc:creator>Josh Fraser</dc:creator>
		<pubDate>Sun, 20 Jun 2010 05:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.onlineaspect.com/?p=772#comment-1006</guid>
		<description>tried that.  still no luck. </description>
		<content:encoded><![CDATA[<p>tried that.  still no luck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

