Module: TripwireNotifier::Rails::ActionControllerMonitor

Defined in:
lib/tripwire_notifier/rails/action_controller_monitor.rb

Overview

This module is mixed into ActionController::Base.

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/tripwire_notifier/rails/action_controller_monitor.rb', line 6

def self.included(base)
  base.after_filter :log_validation_failures_to_tripwire, :only => [:create, :update]
end