lib/active_ldap.rb in activeldap-3.2.3 vs lib/active_ldap.rb in activeldap-4.0.0

- old
+ new

@@ -53,11 +53,11 @@ ActiveLdap::Base.class_eval do include ActiveLdap::Persistence include ActiveLdap::Associations - include ActiveModel::MassAssignmentSecurity + include ActiveModel::ForbiddenAttributesProtection include ActiveLdap::Attributes include ActiveLdap::AttributeMethods include ActiveLdap::AttributeMethods::BeforeTypeCast include ActiveLdap::AttributeMethods::Write include ActiveLdap::AttributeMethods::Dirty @@ -81,5 +81,7 @@ ACTIVE_LDAP_CONNECTION_ADAPTERS.each do |adapter| require "active_ldap/adapter/#{adapter}" end +require "active_ldap/entry" +require "active_ldap/railtie" if defined?(Rails)