Michael Koziarski wrote:
>> Yeah,  I can't see how that'd work at all ;), seems no one's tried to
>> use it before ;).
>>
>> David added it,  the ticket's available here:
>>
>> http://dev.rubyonrails.org/ticket/1958
>>
>> So it seems that setting it in environment rb before the initializer
>> runs lets you override that behaviour.  The config. option doesn't
>> seem to work at all.  Perhaps david or stefan could chime in?
>>     
>
> So, the ideal fix would be that that config value actually worked, in
> the meantime if you set the constant above the initializer block, that
> *should* work...
>
>
>   
Hi,

Yes, I've tried both ways. Of course, setting this value above the 
initializer block works (and we have a plugin version that modifies 
environment.rb), but this is still a manual extra step. (And at least to 
me it feels slightly hackish to change stuff above the "official" user 
configurable parts.)

The optimal would be that the default connection adapters include jdbc 
from the beginning. As Charles noted; you're already include other 
adapters with external dependencies here.

Regards
-- 

 Ola Bini (http://ola-bini.blogspot.com) 
 JvYAML, RbYAML, JRuby and Jatha contributor
 System Developer, Karolinska Institutet (http://www.ki.se)
 OLogix Consulting (http://www.ologix.com)

 "Yields falsehood when quined" yields falsehood when quined.



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

Reply via email to