Class: Adhearsion::Initializer::LdapInitializer
- Defined in:
- lib/adhearsion/initializer/ldap.rb
Class Method Summary collapse
Class Method Details
.start ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/adhearsion/initializer/ldap.rb', line 10 def start require_dependencies require_models @@config = Adhearsion::AHN_CONFIG.ldap # You may need to uncomment the following line for older versions of ActiveRecord # ActiveRecord::Base.allow_concurrency = true establish_connection end |
.stop ⇒ Object
19 20 21 |
# File 'lib/adhearsion/initializer/ldap.rb', line 19 def stop ActiveLdap::Base.remove_connection end |