Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:projects>rails new libray
- default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
- development:
- <<: *default
- database: db/development.sqlite3
- # 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:
- <<: *default
- database: db/test.sqlite3
- production:
- <<: *default
- database: db/production.sqlite3
- development:
- adapter: mysql
- database: library_development
- username: root
- password: 1234
- host: localhost
- test:
- adapter: mysql
- database: library_test
- username: root
- password: 1234
- host: localhost
- production:
- adapter: mysql
- database: library_production
- username: root
- password: 1234
- host: localhost
- C:projects>library>rails generate model book
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement