lib/active_ldap/railtie.rb in activeldap-4.0.2 vs lib/active_ldap/railtie.rb in activeldap-4.0.3
- old
+ new
@@ -4,11 +4,9 @@
Locale.init(:driver => :cgi)
module ActiveLdap
class Railtie < Rails::Railtie
- config.app_generators.orm :active_ldap
-
initializer "active_ldap.setup_connection" do
ldap_configuration_file = Rails.root.join('config', 'ldap.yml')
if File.exist?(ldap_configuration_file)
configurations = YAML::load(ERB.new(IO.read(ldap_configuration_file)).result)
ActiveLdap::Base.configurations = configurations