lib/simple_auth.rb in simple_auth-0.1.7 vs lib/simple_auth.rb in simple_auth-0.1.8
- old
+ new
@@ -8,12 +8,9 @@
module SimpleAuth
class NotAuthorized < Exception; end
end
-::ActiveRecord::Base.send :include, SimpleAuth::ActiveRecord::InstanceMethods
-::ActiveRecord::Base.send :extend, SimpleAuth::ActiveRecord::ClassMethods
-
::ActionController::Base.send :include, SimpleAuth::ActionController::Implementation
::ActionController::Base.send :include, SimpleAuth::ActionController::InstanceMethods
::ActionController::Base.send :extend, SimpleAuth::ActionController::ClassMethods
::ApplicationController.helper SimpleAuth::Helper if defined?(::ApplicationController)