lib/track_changes.rb in track_changes-1.0.0.pre1 vs lib/track_changes.rb in track_changes-1.0.0.pre2

- old
+ new

@@ -1,13 +1,11 @@ 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' + require 'track_changes/engine' if defined?(Rails) end -ActiveRecord::Base.send :include, TrackChanges::ActiveRecord -ActionController::Base.send :include, TrackChanges::ActionController +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'