On Dec 14, 12:11 pm, Chris Gers32 <[EMAIL PROTECTED]> wrote:
> Une information supplémentaire : sur le serveur de production, je n'ai
> pas le fichier oracle_adapter.rb dans
> C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.0.1\lib\active_record\connection_adapters
>
> alors qu'il est présent sur le serveur de développement (qui lui a Rails
> 1.2.6.)...

Ca c'est normal, la core team de rails a décicé pour rails 2.0 de
sortir les adapters vers des bases de données commerciales du gem
activerecord, afin que ces adaptateurs puissent avoir leur propre mise
à jour plus facilement.

Cf.  http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done  :

"A little more drastic, we've also pushed all the commercial database
adapters into their own gems. So Rails now only ships with adapters
for MySQL, SQLite, and PostgreSQL. These are the databases that we
have easy and willing access to test on. But that doesn't mean the
commercial databases are left out in the cold. Rather, they've now
been set free to have an independent release schedule from the main
Rails distribution. And that's probably a good thing as the commercial
databases tend to require a lot more exceptions and hoop jumping on a
regular basis to work well.

The commercial database adapters now live in gems that all follow the
same naming convention: activerecord-XYZ-adapter. So if you gem
install activerecord-oracle-adapter, you'll instantly have Oracle
available as an adapter choice in all the Rails applications on that
machine. You won't have to change a single line in your applications
to take use of it."

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Répondre à