Sha256: 974b4cb3cf2a94132c5b42a63358bf8dd8e2665ee2804e0bc76d5271811e7b6c
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
require_library_or_gem 'active_samba_ldap' ActiveSambaLdap::Base.logger ||= RAILS_DEFAULT_LOGGER ldap_configuration_file = File.join(RAILS_ROOT, 'config', 'ldap.yml') if File.exist?(ldap_configuration_file) ActiveSambaLdap::Base.configurations = ActiveSambaLdap::Configuration.read(ldap_configuration_file) ActiveSambaLdap::Base.establish_connection else ActiveLdap::Base.class_eval do format = _("You should run 'script/generator scaffold_active_samba_ldap' " \ "to make %s.") logger.error(format % ldap_configuration_file) end end class ActionView::Base include ActiveLdap::Helper end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activesambaldap-0.0.4 | rails/plugin/active_samba_ldap/init.rb |
activesambaldap-0.0.5 | rails/plugin/active_samba_ldap/init.rb |