Are there any code examples of using rails and postgresql - I cannot seem to get a simple example working (it could be a connect problem or an active record problem - error msg just says error. thks. -- Posted via http://www.ruby-forum.com/.
john wrote:> Are there any code examples of using rails and postgresql - I cannot > seem to get a simple example working (it could be a connect problem or > an active record problem - error msg just says error. thks.Maybe you should take a look at http://robbyonrails.com/. He''s Rails + Postgresql evangelist extraordinare. -- Posted via http://www.ruby-forum.com/.
john wrote:> Are there any code examples of using rails and postgresql - I cannot > seem to get a simple example working (it could be a connect problem or > an active record problem - error msg just says error. thks. >John, Make sure you rails application is pointing to the correct database i.e production or development. Tracy
Tracy Phillips wrote:> john wrote: >> Are there any code examples of using rails and postgresql - I cannot >> seem to get a simple example working (it could be a connect problem or >> an active record problem - error msg just says error. thks. >> > > John, > > Make sure you rails application is pointing to the correct database i.e > production or development. > > Tracythks, a combination of updating gems and adding a new password (I think this was the real solution) to the db solved the problem - rails is working fine now with postgresql. -- Posted via http://www.ruby-forum.com/.