The above code will find the body tag and give you back the onload
attribute. This is the most common reason to use the element directly:
when reading and writing HTML attributes.
More importantly, hpricot is deprecated:
Hpricot is over.
After years of lack of a proper maintainer for one of why’s jewels, it
has been decided to finally close the book on hpricot. Most users have
migrated to alternatives and there is simply no time or energy to
continue with the current codebase.
I get this info return:
C:/Ruby21/lib/ruby/2.1.0/net/http.rb:923:in `connect’: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed (OpenSSL::SSL::SSLError)
How to fix it?
Thanks.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.