Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#1272

(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?

Reported by dvdplm · October 26th, 2008 @ 01:25 PM

State: committed
Milestone: 2.3.4
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Pratik
    Pratik

    Hey dvdplm,

    You might wanna have a glance at http://guides.rails.info/contrib... for the contribution guide. And please do let us know if that's not clear enough, we're aiming to make it as straight forward as possible.

    March 7th, 2009 @ 08:30 PM

  2. Brendan Schwartz
    Brendan Schwartz
    • Tag set to activeresource, active_resource, patch, ruby1.9, ruby19, ssl

    dvdplm nailed it. Patch attached. Works for me in Ruby 1.9.1 and 1.8.x.

    March 25th, 2009 @ 07:23 PM

  3. dvdplm
    dvdplm

    @brendan: thanks a lot! :)

    March 25th, 2009 @ 08:56 PM

  4. Samsonov Ivan
    Samsonov Ivan

    I've the same problem.

    May 13th, 2009 @ 01:58 PM

  5. Scott Barr
    Scott Barr

    Patch works for me with Ruby 1.9.1 and 1.8.7

    May 23rd, 2009 @ 02:58 AM

  6. Niels Ganser
    Niels Ganser

    +1

    Patch applies cleanly on latest checkout from 2-3-stable and works as advertised.

    July 16th, 2009 @ 11:49 AM

  7. Michael Koziarski
    Michael Koziarski
    • Milestone changed from 2.x to 2.3.4

    July 19th, 2009 @ 08:10 AM

  8. Dr Nic
    Dr Nic

    I pulled down edge rails and it doesn't seem this old patch is applied yet I think. Has this ticket been applied to master? or is it in a branch somewhere?

    This is a known bug that's open since October 2008 and fixed in March 2009.

    August 7th, 2009 @ 07:12 PM

  9. Pratik
    Pratik
    • Assigned user set to Jeremy Kemper

    August 7th, 2009 @ 07:29 PM

  10. Repository
  11. Repository
  12. Ron Newman