Re: Rails saving on LDAP (or directly on a mailserver)

Craig White
Tue, 19 Jan 2010 13:16:39 -0000

On Mon, 2010-01-18 at 21:28 -0500, Jerry Van Baren
wrote:
> Simone R. wrote:
> > Hi everybody,
>
> [snip]
>
> > My idea (i''m helping my frined on the computer and web parts)
is to have
> > all this people registering themself on the gym website and have theyr
> > account saved on an LDAP server ( the badge & access system will
run on
> > LDAP)
> >
> > there is some way to use LDAP as rails database ?
>
> Not that I''m aware of.  Rails is sql-oriented and LDAP is a
totally
> different animal.
----
wrong

OP might want to check rubyforge.org for ldap but I have used activeldap
which uses LDAP as an activerecord store. There are probably quite a few
and it has been a long time since I used activeldap.

LDAP is of course a database albeit one that is intended to be ''read
often, written not so often'' so some judgment should be given to what
is
stored in LDAP and what would be better off in some SQL db.

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.