#104 ✓resolved
Matthew King

Super-abstraction feature request

Reported by Matthew King | September 3rd, 2007 @ 09:59 AM

This feature request/offer-to-help may go in a direction you don't wish to take Ambition. No worries, if so.

I want to use the ruby interface offered by Ambition to query my ActiveLDAP records. Or any other ActiveThingy that turns up.

LDAP search filters should be easy to create using the tree-parsing that Ambition already does. They might even be easier to implement, given the nested structure with prefix boolean operators.

The AR/SQL specific helpers and process_* methods would have to be extracted into modules that you mix into WhereProcessor. Which module gets included can be determined by what ActiveThingy::Base class gets the extend(Ambition) call.

This would require substantial restructuring, obviously. I would be glad to contribute proportionately.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages