lib/kredis/railtie.rb in kredis-0.1.1 vs lib/kredis/railtie.rb in kredis-0.1.2
- old
+ new
@@ -10,9 +10,13 @@
parallelize_setup { |worker| Kredis.namespace = "test-#{worker}" }
parallelize_teardown { Kredis.clear_all }
end
end
+ initializer "kredis.logger" do
+ Kredis.logger = Rails.logger
+ end
+
initializer "kredis.configurator" do
Kredis.configurator = Rails.application
end
initializer "kredis.attributes" do