Displaying 1 result from an estimated 1 matches for "dn_attribute".
Did you mean:
in_attribute
2009 Jan 22
0
ActiveLdap belongs_to and has_many associations
Hi,
I am trying to use ActiveLdap for authentication in my rails app. But I
am running into a problem with the "belongs_to" and "has_many"
associations.
Here ist how my models look like.
class Person < ActiveLdap::Base
ldap_mapping :dn_attribute => "uid",
:prefix => "ou=People",
:classes => [''top'', ''account'', ''posixAccount'']
belongs_to :groups, :class => ''Group'', :many => ''memberUid''
e...