On Thu, Apr 27, 2006 at 05:12:40PM -0700, Michael A. Schoen wrote:
> Michael A. Schoen wrote:
> >Michael A. Schoen wrote:
> >>Michael Schoen wrote:
> >>>"marcel" has kicked AR/Oracle while it was down...
> >>
> >>I think you fixed the actual frontbase problem, it's failing now for 
> >>some other reason -- I'm looking into it.
> >
> >Hmm, it is still something about frontbase that's breaking it, not quite 
> >sure what yet. But if I change activerecord.rb to not include frontbase, 
> >the errors go away.
> 
> Ok, found the issue -- it is a real issue w/ the frontbase adapter, in 
> that it redefines #set_sequence_name to do nothing. That seems wrong and 
> unnecessary. Can you remove those 2 lines?
> 
> module ActiveRecord
>   class Base
>     class << self
>       # FrontBase only supports one unnamed sequence per table
>       def set_sequence_name( value=nil, &block )
>       end

The FrontBase adapter apparently requires that this be the case. I'm
currently trying to redefine it only in the case where the FrontBase adapter
is the current adapter which is tricky since the connection isn't setup yet.

marcel
-- 
Marcel Molina Jr. <[EMAIL PROTECTED]>
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to