sailesh/activeldap — comment on commit 72f6263c68f5dcc25286202ede26efb59da75dfe
File: lib/active_ldap/connection.rb line 225
By kou:

This code doesn't work on Ruby 1.8 because methods returns an array of string not an array of symbol.
Please use Gem::Specification.singleton_class.method_defined?(:find_all_by_name).