Jeff Cohen wrote: database.yml: > > development: > adapter: postgresql > host: localhost # or your server name > database: my_app_development > username: me > password: password > > and similarly change the test and production sections too. > > Once you've done that, you can use rake db:create to automatically > create your local postgres database which I think is pretty cool. > > In the future, when you create a new Rails app, you can use the -d > option to specify postgresql, which will generate the database.yml for > you from the beginnning. > > Jeff > > purpleworkshops.com
Once again thank you jeff I was able to change the database.yml file...but I dint understand what to change on test and production sections(I was a new guy for ROR) I was able to create a new db too. Thanks jeff again, this info helped me alot.... Could u please tell me what to update on those two files Best Wishes Siva -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.