Topic: Anyone got a good tutorial for using Using Net::HTTP.get_response ?
Im trying to use Net::HTTP.get_response to include some static pages into results pages of a RoR app but whenever I use it I seem to crash my app. Has anyone got a decent tutorial they can point me at?
I'm trying to use something like
@webdetails = Net::HTTP.get_response( URI.parse('http://www.mypages.com/programaticallysetpage.html' ) )
and then rendering the @webdetails instance variable in the show.html.erb