views:

349

answers:

2

I'm trying to find the sqlite database file that rails creates.

Sorry if this is a dumb question but which folder is this file stored in?

I've looked in all of the folders in my Rails project and can't find it.

My database.yml:

   development:
      adapter: sqlite3
      database: db/development.sqlite3
      pool: 5
      timeout: 5000
+4  A: 

It's in RAILS_ROOT/db/development.sqlite3

railsninja
Thanks !
carson welsh
A: 

FWIW the file might not exist if you haven't done rake db:create yet.

Sai Emrys