ruby on rails 4 - disable ssl verification on gem active_rest_client -


i'm creating model in ruby/rails uses gem "active-rest_client" (https://github.com/whichdigital/active-rest-client). target server 'speaks' https mismatched ssl cert. need disable ssl verification when query (long story, accept that).

the gem doesn't seem have native way disable ssl verification. however, relies on faraday gem can disable ssl verification (https://gist.github.com/mislav/938183).

when do:

activerestclient::base.faraday_config |faraday|   faraday.ssl = false end 

it tells me "ssl" undefined method.

does know way?

thanks in advance!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -