On 2/24/07, Anthony Eden <[EMAIL PROTECTED]> wrote:
>
> Following up on Koz's suggestion to discuss how plugin developers are
> monkey patching AR, I'd like to share some of things my coworkers and
> I have done.
>
What do you all think of adding a new key to find's option hash, for
adapter specific extensions, optimizer hints and similar? Unrecognized
keys would just be ignored.
E.g.:
find(:all, :conditions => query, :ext => { :prepare => false, :db2 =>
{:prepare => true}, :mxyzptlk => false })
Isak
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---