On Fri, Oct 31, 2008 at 09:38:00AM +0900, Becca Girl wrote:
> Becca Girl wrote:
> > Figured it out.
> > 
> > page.search("div.details").search("a[@href*='unique_id']")
> 
> 
> After re-reading the documentation, I see that I should be able to 
> simply do something like this --> page.links.href('/unique_id') but I 
> get nothing.  No results, nada.  Am I doing this wrong?

You can do:

  page.links_with(:href => /unique_id/)

Which will search links that have href's which match /unique_id/

Hope that helps.

-- 
Aaron Patterson
http://tenderlovemaking.com/