I'm trying to get a url using open-uri.
my code is outrageously simple
url = open("http://localhost:3000/descriptions") return render :text => url.to_json
When I run this code, I get a timeout error.
When I request just "http://localhost:3000", I get my home page (which is correct). So it seems this is breaking on the path somewhere. I've tried using net-http with uri (not sure if that would make a difference) and I still have the same issue. I want to get a path and a query, but I can't seem to get that to work.