On E, 2007-08-20 at 21:52 +1200, Michael Koziarski wrote:
> I've been kicking around a few more changes to AR::Base lately and
> perhaps we could do something along these lines. My thoughts on our
> querying at present are:
> 
> * It should be in / near the adapters.
> 
> There's already some code that needs to be different but is currently
> implemented in base, by checking what the adapters support:
> 
>       # Should primary key values be selected from their corresponding
>       # sequence before the insert statement?  If true, next_sequence_value
>       # is called before each insert to set the record's primary key.
>       # This is false for all adapters but Firebird.
>       def prefetch_primary_key?(table_name = nil)
>         false
>       end
> 
> That could ideally simply be handled with polymorphism

This ticket does remove "prefetch_primary_key?" and:
http://dev.rubyonrails.org/ticket/9253

It's just waiting for works-with-Oracle confirmation from Michael
Schoen.


--~--~---------~--~----~------------~-------~--~----~
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