When you say sample framework, I assume you want a minimal sample application to start from? What kind, specifically were you looking for? There are blog apps, to-do list apps, micro-blogs, etc that are all pretty simply...
I am looking for an app where the app will have users where users can be searched according to zip code or state. Users can create their profile with their expertise and people can rate their services etc.
The former uses the google maps api to handle geocoding but you could use it as well to figure out the distance between two points. You could also use the great circle formula yourself if you know the lat and long of both points (http://en.wikipedia.org/wiki/Great-circle_distance).
The latter is one of his pro episodes but if you don't mind watching semi-dated material and picking up the rest from docs you could watch the original episode.
I find the railscasts to be extremely helpful when it comes to understanding both what's available to the rails community (lots of gem coverage) and unique ways to deal with common problems.