rajasekar98 / gmail.com wrote: > Hi Stephan, > > Any idea , what are the other reasons for such an error. Well, know that I've read your database.yaml it might also be due to some entries there: > development: > adapter: sqlite3 > dbfile: db/test.db > > test: > adapter: sqlite3 > dbfile: db/test.db > > production: > adapter: sqlite3 > dbfile: db/test.db > First of all the databases for test, development and production should never be the same. Really never, or you may and will loose data. Second of all ... in my yaml file it actually says > test: > adapter: sqlite3 > database: db/something_test.db3 But then, the documentation I have only states dbfile as you wrote. So here maybe I'm plain wrong, although database works, too. I just checked it. Happy rubying Stephan