Displaying 1 result from an estimated 1 matches for "postgres_development".
2012 Aug 07
0
spatial_adapter and ruby_ldap
...conn.search("cn=systems,dc=comp,dc=org", LDAP::LDAP_SCOPE_SUBTREE,
"(&(objectClass=groupOfUniqueNames)(uniqueMember=uid=3,cn=users,dc=comp,dc=org))",[''cn'',''description''])
conn.perror("search")
conn.unbind
The database.yml file
postgres_development:
adapter: postgresql
host: host1
database: db1
username: user1
password: password1
development:
adapter: oracle_enhanced
database: db2
username: user2
password: password2
timeout: 5000
encoding: utf8
An example of a postgres model:
class PgLocation < ActiveRecord::Base...