module TrackChanges require 'track_changes/engine' if defined?(Rails) && Rails::VERSION::MAJOR == 3 require 'track_changes/action_controller' require 'track_changes/active_record' require 'track_changes/around_save' require 'track_changes/changes' require 'track_changes/configuration' require 'track_changes/current_user' require 'track_changes/current_user_filter' end ActiveRecord::Base.send :include, TrackChanges::ActiveRecord ActionController::Base.send :include, TrackChanges::ActionController