On 9/4/06, Michael Koziarski <[EMAIL PROTECTED]> wrote:
There's already provision for that in the initializer:

config.connection_adapters= ["jdbc"]

It seems like it's meant to work ....

I wasn't aware of that particular setting, but it does not appear to work under Rails 1.1.6, at any rate. I added it to both environment.rb and environments/production.rb, and it seemed to have no effect. Am I doing something wrong?

As far as I can tell, it seems that the database initialization happens early enough in the process that we can't add to the list of adapters before it blows up.

--
Contribute to RubySpec! @ www.headius.com/rubyspec
Charles Oliver Nutter @ headius.blogspot.com
Ruby User @ ruby.mn
--~--~---------~--~----~------------~-------~--~----~
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