lib/simple_auth/railtie.rb in simple_auth-1.1.0 vs lib/simple_auth/railtie.rb in simple_auth-1.2.0

- old
+ new

@@ -10,13 +10,9 @@ helper SimpleAuth::Helper prepend_before_filter :activate_simple_auth helper_method :current_user, :current_session, :logged_in? end - ::ActiveRecord::Base.instance_eval do - include SimpleAuth::ActiveRecord - end - - ::I18n.load_path += Dir[File.dirname(__FILE__) + "/../../config/locales/*.yml"] + ::ActiveRecord::Base.class_eval { include SimpleAuth::Orm::ActiveRecord } if defined?(::ActiveRecord) end end end