Module: ActiveLdap

Extended by:
GetTextSupport
Defined in:
lib/active_ldap.rb,
lib/active_ldap/xml.rb,
lib/active_ldap/base.rb,
lib/active_ldap/ldif.rb,
lib/active_ldap/escape.rb,
lib/active_ldap/helper.rb,
lib/active_ldap/schema.rb,
lib/active_ldap/command.rb,
lib/active_ldap/railtie.rb,
lib/active_ldap/version.rb,
lib/active_ldap/get_text.rb,
lib/active_ldap/populate.rb,
lib/active_ldap/acts/tree.rb,
lib/active_ldap/callbacks.rb,
lib/active_ldap/attributes.rb,
lib/active_ldap/compatible.rb,
lib/active_ldap/connection.rb,
lib/active_ldap/ldap_error.rb,
lib/active_ldap/operations.rb,
lib/active_ldap/persistence.rb,
lib/active_ldap/validations.rb,
lib/active_ldap/adapter/base.rb,
lib/active_ldap/adapter/jndi.rb,
lib/active_ldap/adapter/ldap.rb,
lib/active_ldap/associations.rb,
lib/active_ldap/object_class.rb,
lib/active_ldap/configuration.rb,
lib/active_ldap/user_password.rb,
lib/active_ldap/human_readable.rb,
lib/active_ldap/log_subscriber.rb,
lib/active_ldap/entry_attribute.rb,
lib/active_ldap/get_text/parser.rb,
lib/active_ldap/schema/syntaxes.rb,
lib/active_ldap/adapter/net_ldap.rb,
lib/active_ldap/association/proxy.rb,
lib/active_ldap/attribute_methods.rb,
lib/active_ldap/distinguished_name.rb,
lib/active_ldap/association/children.rb,
lib/active_ldap/association/has_many.rb,
lib/active_ldap/association/belongs_to.rb,
lib/active_ldap/association/collection.rb,
lib/active_ldap/attribute_methods/read.rb,
lib/active_ldap/adapter/jndi_connection.rb,
lib/active_ldap/attribute_methods/dirty.rb,
lib/active_ldap/attribute_methods/query.rb,
lib/active_ldap/attribute_methods/write.rb,
lib/active_ldap/association/has_many_wrap.rb,
lib/active_ldap/association/has_many_utils.rb,
lib/active_ldap/association/belongs_to_many.rb,
lib/active_ldap/railties/controller_runtime.rb,
lib/active_ldap/attribute_methods/before_type_cast.rb,
lib/active_ldap/action_controller/ldap_benchmarking.rb,
lib/rails/generators/active_ldap/model/model_generator.rb,
lib/rails/generators/active_ldap/scaffold/scaffold_generator.rb

Defined Under Namespace

Modules: ActionController, Acts, Adapter, Association, Associations, AttributeMethods, Attributes, Callbacks, Command, Compatible, Configuration, Connection, Escape, Generators, GetText, GetTextSupport, Helper, HumanReadable, ObjectClass, Operations, Persistence, Populate, Railties, UserPassword, Validations Classes: AdapterNotFound, AdapterNotSpecified, AttributeAssignmentError, AttributeValueInvalid, AuthenticationError, Base, ConfigurationError, ConnectionError, ConnectionNotSetup, DeleteError, DistinguishedName, DistinguishedNameInputInvalid, DistinguishedNameInvalid, DistinguishedNameNotSetError, EntryAlreadyExist, EntryAttribute, EntryInvalid, EntryNotFound, EntryNotSaved, Error, LdapError, Ldif, LdifInvalid, LogSubscriber, NotImplemented, ObjectClassError, OperationNotPermitted, Railtie, RequiredAttributeMissed, RequiredObjectClassMissed, SaveError, Schema, StrongAuthenticationRequired, TimeoutError, UnknownAttribute, Xml

Constant Summary collapse

XML =
Xml
LDIF =
Ldif
VERSION =
"3.2.3"
DN =
DistinguishedName

Class Method Summary collapse

Methods included from GetTextSupport

included

Class Method Details

.const_missing(id) ⇒ Object



50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/active_ldap/base.rb', line 50

def const_missing(id)
  case id
  when :ConnectionNotEstablished
    message =
      _("ActiveLdap::ConnectionNotEstablished has been deprecated " \
        "since 1.1.0. " \
        "Please use ActiveLdap::ConnectionNotSetup instead.")
    ActiveSupport::Deprecation.warn(message)
    const_set("ConnectionNotEstablished", ConnectionNotSetup)
    ConnectionNotEstablished
  else
    super
  end
end

.get_text_supported?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/active_ldap/get_text.rb', line 5

def get_text_supported?
  true
end