lib/action_throttling.rb in rails-action_throttling-0.1.0 vs lib/action_throttling.rb in rails-action_throttling-0.1.1

- old
+ new

@@ -49,10 +49,10 @@ def regeneration_time ActionThrottling.configuration.regenerate_interval.ago end def redis - @redis ||= Redis.new + @redis ||= ActionThrottling.configuration.redis end end def self.included(receiver) unless ActionThrottling.configuration.bucket_key