From 2a91824763ce6c068ecbb4a2ffb1c092ae40d9c6 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sat, 30 Jun 2012 01:49:35 +0200 Subject: [PATCH] note how to configure notifiers --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 435bb34..6520571 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ Or install it yourself as: ## Usage -ValidationRage::LogNotifier.new(:logger => Rails.logger, :log_level => :warn).subscribe! -ActiveRecord::Base.descendants.each {|m| m.send(:include, ValidationRage::ModelExtension) } + + config.validation_rage.notifier["Udp"] = {:host => "localhost", :port => 33333} ## Contributing