lib/rsolr/uri.rb in rsolr-1.0.0.beta vs lib/rsolr/uri.rb in rsolr-1.0.0.beta2
- old
+ new
@@ -1,4 +1,6 @@
+require 'uri'
+
module RSolr::Uri
def self.create url
::URI.parse url[-1] == ?/ ? url : "#{url}/"
end
\ No newline at end of file