Does Rails 3 support native working with postgresql schemas, or I
should try some own solution?
I have some already-created postgresql database with 4 or somth
schemas.
By putting “schema_search_path: ejabber, public, admin, statistic”
into database.yml I told Rails that I have more than 1 schema.
When I make “rake db:schema:dump” I have tables from all 4 schemas
alphabetical with no schema-dependency.
So the question is, when I’ll be ready to deploy my app on production
(via capistrano, for example), is there would be still 4 schemas in
database, or only one? How does Rails keeps knowing which table
belongs to which schema?