On Feb 24, 2007, at 5:36 AM, Mislav Marohnić wrote:
> On 2/23/07, Michael Koziarski <[EMAIL PROTECTED]> wrote:
>
> > Starting Monday I'll be working for myself and one of the things I'm
> > looking forward to is working on ActiveRecord more.
>
> Congratulations,  it's a bunch of fun :)
>
> Will the change make the Abstract Adapter really abstract while  
> moving all generic SQL to "Abstract SQL Adapter" (which the current  
> concrete adapters would subclass instead)? Removing all SQL- 
> specific code from AR::Base would also be neat.
>
> That change would make room, for example, an adapter for XML  
> databases in the future!

One thing I experimented with a while back was an explicit Query  
object, returned by the Adapter.

http://urlx.org/opendarwin.org/73585

The idea is that rather than always passing direct SQL in, developers  
would typically call appropriate methods on the query object, and  
pass that.

Alas, I never got very far.  However, if this is compatible with the  
direction things are going, I'd be happy to help out.

-- Ernie P.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to