[Rails] Re: Re: Salted hash login, postgresql, unit tests

Craig White craigwhite at azapple.com
Wed Mar 1 13:52:18 GMT 2006


On Wed, 2006-03-01 at 13:37 +0100, Mattias Brändström wrote:
> Craig White wrote:
> > 
> > I ended up simply creating a schema other than public and put everything
> > in that schema and referenced the schema in database.yml
> > 
> > I ***think*** that if you name the schema with the same name as the
> > 'user' that you won't have to specifically identify the schema in
> > database.yml but that seemed to be of little use beyond that.
> > 
> 
> How do you reference the schema in database.yml? When I tried to create 
> a new schema with the same name as my user I still get the same error.
-----
schema_search_path: schema_name

development:
  adaptor: postgres
  database: depot_development
  username: dave
  password: who_knows
  port: 5432
  host: bigdaddy
  schema_search_path: my_schema

Craig



More information about the Rails mailing list