Ruby and Rails - oauth and http proxy


Ruby and Rails - oauth and http proxy



Does anybody know how to implement an HTTP PROXY with oauth for rails? I'm using the oauth gem but am behind a proxy server.

Finding it very difficult to work this out. Very frustrating!

Thanks for any help,

John




Very strange problem with Gettext and Haml on Rails / rake updatepo broke

1:



Protecting Content with AuthLogic
Try adding the :proxy property when you create your consumer:.
Send form data to HTTPService: how to approach it in Cairngorm?
@consumer = OAuth::Consumer.new( consumer_key, consumer_secret, {   :site               => 'http://site.com',   :proxy              => 'http://proxy.mycompany.com:8080',   :request_token_path => "/oauth/request_token",   :access_token_path  => "/oauth/access_token",   :authorize_path     => "/oauth/authorize"   }) 


rails + attachment_fu: issue with files in directories


Data Modeling Question for Rails

2:



Creating forms for relational data in Rails
Solution NOT tested Did you try to set the OAuth::Consumer.proxy = http://login:password@ip_address/ You can do this on RequestToken.consumer.proxy or even on AccessToken.consumer.proxy.
Fastest way to search two models connected via join table in rails given large data set
It should from what I've seen in the ruby library..
Optional path prefix persistence, using Sven Fuchs' routing filter
Good luck.



76 out of 100 based on 56 user ratings 1006 reviews

@