Displaying 1 result from an estimated 1 matches for "pglocation".
Did you mean:
location
2012 Aug 07
0
spatial_adapter and ruby_ldap
...abase.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
establish_connection "postgres_"{RAILS_ENV}"
end
If I block the spatial_adapter in the Gemfile everything works well. I
welcome any ideas.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&qu...