require 'track_changes/instance_methods' require 'track_changes/class_methods' module TrackChanges def self.included(controller) controller.send(:include, InstanceMethods) controller.extend(ClassMethods) end end