This project is archived and is in readonly mode.

#1272 ✓committed
dvdplm

ruby19 incompatibility: ActiveResource::Connection#http, use_ssl?

Reported by dvdplm | October 26th, 2008 @ 01:25 PM | in 2.3.4

(I have no idea if this is the way you people want your bugs reported. The instructions are very very confusing; please forgive me if I'm doing this the wring way.)

Description: ActiveResource::Connection#http uses Net::HTTP#use_ssl -- an alias to use_ssl? -- which doesn't exist anymore in Ruby 1.9.

Fix: change to use use_ssl? instead, like so: activeresource/lib/active_resource/connection.rb, line 192

http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>