> However we have a very small request. In order for ActiveRecord-JDBC to be
> usable, users must manually modify the list of supported adapters in
> activerecord.rb, adding "jdbc" to the list.
>
> We would be very thankful if there were a way to include the "jdbc" string
> in that list in future releases. That would allow users to get up and
> running just by installing "rails" and "ActiveRecord-JDBC" gems, requiring
> no additional steps. I believe the currently-listed databases also have
> external requirements, so adding "jdbc" seems reasonable...especially since
> we'll never need to add anything else; "jdbc" support covers all databases
> at once.
>
> Is this a reasonable request?
There's already provision for that in the initializer:
config.connection_adapters= ["jdbc"]
It seems like it's meant to work ....
def set_connection_adapters
Object.const_set("RAILS_CONNECTION_ADAPTERS",
configuration.connection_adapters) if
configuration.connection_adapters
end
Is there a reason that that doesn't work?
--
Cheers
Koz
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---