Browse files

Using sqllite for db

  • Loading branch information...
1 parent ca95ea9 commit 6459fee711e7b5f932d17cc11e6fb73850bc6b2c @zol committed Mar 1, 2012
Showing with 10 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Gemfile
  3. +2 −0 Gemfile.lock
  4. +6 −3 config/database.yml
View
1 .gitignore
@@ -3,3 +3,4 @@ tmp/**/*
doc/api
doc/app
public/stylesheets/*.css
+db/development.sqlite3
View
1 Gemfile
@@ -1,5 +1,6 @@
source :gemcutter
gem "rails", "~> 2.3.4"
+gem "sqlite3"
gem "authlogic"
gem "sass"
View
2 Gemfile.lock
@@ -23,6 +23,7 @@ GEM
rake (>= 0.8.3)
rake (0.9.2.2)
sass (3.1.7)
+ sqlite3 (1.3.5)
PLATFORMS
ruby
@@ -31,3 +32,4 @@ DEPENDENCIES
authlogic
rails (~> 2.3.4)
sass
+ sqlite3
View
9 config/database.yml
@@ -4,11 +4,14 @@ common: &common
username: eisenhower
password: eisenhower
host: localhost
- encoding: utf8
+ encoding: utf8
development:
- <<: *common
- database: eisenhower_dev
+ adapter: sqlite3
+ database: db/development.sqlite3
+ pool: 5
+ timeout: 5000
+ encoding: utf8
test:
<<: *common

0 comments on commit 6459fee

Please sign in to comment.