On 7 November 2012 11:50, Fahim Patel <[email protected]> wrote: > > > Hi all , > > I have create new application in rails with sqlite3 . > Its totally confusing to me when i see my database.yml file. > Reason of confusing is what type of extension is given to database ? > > I have knowledge that by executing following line will create database :- > sqlite3 test.db > See the extension of database is .db > > But when i see my database.yml , extension of database is .sqlite3 > database.yml is copied below. > What is extension of database in sqlite3 ?
You can use any extension you like. It is just a file. > > In my database.yml file > SQLite version 3.x > # gem install sqlite3 > development: > adapter: sqlite3 > database: db/development.sqlite3 > pool: 5 > timeout: 5000 > > # Warning: The database defined as "test" will be erased and > # re-generated from your development database when you run "rake". > # Do not set this db to the same as development or production. > test: > adapter: sqlite3 > database: db/test.sqlite3 > pool: 5 > timeout: 5000 > > production: > adapter: sqlite3 > database: db/production.sqlite3 > pool: 5 > timeout: 5000 > > Thanks > > Best Regards > Fahim Babar Patel > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/EtBsbS4cArwJ. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

