Hi,
  I have to connect to a legacy DB wich has a schema called "Financeiro".

  I setup my database.yml to:

...
schema_search_path: Financeiro
...

when activerecord tries to find something I get the following error:

ActiveRecord::StatementInvalid: RuntimeError: ERROR     C3F000  Mschema
"financeiro" does not exist
F.\src\backend\catalog\namespace.c      L2898   Rassign_search_path: SET
search_path TO Financeiro from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract_adapter.rb:147:in
`log'

Note that in the error message I get financeiro (downcase).

If I rename the schema to financeiro downcase it works well. But it is not
possible in the production environment.

Thanks.


Ricardo Acras
[EMAIL PROTECTED]
Acras Sistemas
+55+41-3092-6403
www.acras.com.br

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to