Is there a way to connect to my postgresql database in InstantRails?
Any help is greatly appreciated.
Thanks!
Is there a way to connect to my postgresql database in InstantRails?
Any help is greatly appreciated.
Thanks!
Download InstantRails from:
http://rubyforge.org/frs/?group_id=904
Installed Gem:
gem install postgres-pr
then changed database.yml to:
development:
adapter: postgresql
database: [database_name]
username: [user_name]
password: [password]
host: [database_hostIP]
timeout: 5000
Didn’t do anything else and it works fine.
coalex
On Nov 14 2007, 8:52 am, Elm M. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs