Please sign in to comment.
Modifying #read_service_url to support passing the desired service UR…
…L as a request parameter. If client website Foo uses ActiveResource and wants to proxy for web service Bar, the service URL Foo generates using ActiveResource (say, http://bar.com/entries/42.xml) won't necessarily be the same as the service URL Bar generates using #url_for (say, http://bar.com/entries/show/42.xml). Because these URLs need to be identical, and because ActiveResource can't know for sure what URL ActionController will generate, it needs to be specified in the request.
- Loading branch information...
Showing with 11 additions and 6 deletions.