konung/active_directory — comment on commit 2325f1875cc12fc363c1db4c8c8dda1bce00691c
File:  line 0
By konung:

Hi Richard.
I'm implementing an internal app for hr, and some of the attributes that
they need to access are: assistant and employeeid . They are not
implemented as separate methods. Most likely cause they are not used a
lot. So this allows for a quick access to those values without implementing
a separate method. Maybe a more appropriate thing would be to make them
attr_reader at this point to avoid screwing up the record accidentally.

The proper solutions is of course to implement proper methods just like
User.manager but who has time? :-) May be I'll do that and do another pull
request in the future.

Nick

On Wed, Feb 8, 2012 at 1:58 PM, Richard Navarrete <
reply@reply.github.com
> wrote:

> Hi Nick,
>
> I haven't had a need for this - can you give me an example of how this is
> useful for you?
>
> Thanks,
> R
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/konung/active_directory/commit/2325f1875cc12fc363c1db4c8c8dda1bce00691c#commitcomment-946679
>

--
--------------------------------------

Nick Gorbikoff
nick.gorbikoff@gmail.com