Topic: Breadcrumbs with REST

I would like to create breadcrumbs for an app built on REST. I think it should be pretty easy (in theory) to build the breadcrumbs directly from the requested URI because of the way the URI structure is nested already (i.e. == Artists >> Releases >> Tracks)

I just need a vigorous prodding in the right direction to get started. Regular Expressions? Hmmm.... could get messy. Maybe some nifty built-in methods I don't already know about?

Last edited by jed.hurt (2006-10-24 00:53:05)

I thought about how mothers feed their babies with tiny little spoons and forks, so I wondered what do Chinese mothers use. Toothpicks?

Re: Breadcrumbs with REST

I don't have much experience with nested resources, but checkout the parameters listed in the development log when calling that page. Perhaps they are included in there somewhere and you can grab them with params[].

Railscasts - Free Ruby on Rails Screencasts