lib/divining_rod.rb in divining_rod-0.3.0 vs lib/divining_rod.rb in divining_rod-0.3.1
- old
+ new
@@ -5,10 +5,10 @@
class Profile
attr_reader :match
def initialize(request)
- @request = request
+ @request = request.clone #Lets not mess with the real one
matchers.each do |matcher|
@match = matcher if matcher.matches?(request)
break if @match
end
nil