On Sep 23, 2013, at 3:41 PM, Mario Me <lists / ruby-forum.com> wrote:

> When I try to get the page with hpricot
> doc =3D Hpricot(open(@link))
> I always have a 404 error, but if I print the @link variable to the =
view=20
> I can access the URL just fine. So I guess its the way im trying to =
open=20
> it with hpricot that is wrong.

=46rom what I can see, you are sending page.link back to the client in =
index.erb. can you show the content that is sent back? (html source, =
please)