lib/simple_auth/railtie.rb in simple_auth-1.5.0 vs lib/simple_auth/railtie.rb in simple_auth-2.0.0

- old
+ new

@@ -10,9 +10,9 @@ helper SimpleAuth::Helper prepend_before_filter :activate_simple_auth helper_method :current_user, :current_session, :logged_in? end - ::ActiveRecord::Base.class_eval { include SimpleAuth::Orm::ActiveRecord } if defined?(::ActiveRecord) + ::ActiveRecord::Base.class_eval { include SimpleAuth::ActiveRecord } end end end