1ea0c2ddbb
1. Compared existing branch with empty Rails 4.0 project and
made changes as needed.
2. Fix find/first warning.
3. Fix sqlite timeout issue.
-- config/database.yml
-- spec/vulnerabilities/insecure_dor_spec.rb
35 lines
712 B
YAML
Executable File
35 lines
712 B
YAML
Executable File
# SQLite version 3.x
|
|
# gem install sqlite3
|
|
#
|
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
# gem 'sqlite3'
|
|
development:
|
|
adapter: sqlite3
|
|
database: db/development.sqlite3
|
|
pool: 5
|
|
timeout: 15000
|
|
|
|
mysql:
|
|
adapter: mysql2
|
|
database: development_railsgoat
|
|
pool: 5
|
|
timeout: 15000
|
|
host: localhost
|
|
username: root
|
|
password:
|
|
|
|
# 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: 15000
|
|
|
|
production:
|
|
adapter: sqlite3
|
|
database: db/production.sqlite3
|
|
pool: 5
|
|
timeout: 5000
|