lib/restly/connection.rb in restly-0.0.1.beta.1 vs lib/restly/connection.rb in restly-0.0.1.beta.2

- old
+ new

@@ -62,10 +62,10 @@ end alias_method :forced_request, :request def request(verb, path, opts={}, &block) - path = [base_path, path.gsub(/^\/?/, '')].join('/') + path = [base_path.gsub(/\/?$/, ''), path.gsub(/^\/?/, '')].join('/') if cache && !opts[:force] request_log("Restly::CacheRequest", path, verb) do cached_request(verb, path, opts, &block) end \ No newline at end of file