Guest User

Untitled

a guest
Jan 23rd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. deleting a db, rake db:drop
  2. removing the rails app, rm -rf app_name
  3. when changing/ adding models to your app, do you have to type in save or does it just save?
  4. rails generate migration
  5. then rake add it to the db: rake db:migrate
  6.  
  7. SQL process - translating ruby into SQL
  8. rake db:migrate - wfiling cabinet
  9. rails generate migration - creates files; do skip this part;
  10. seeds.rb - run db file; apllies data into the structure
  11. do not use lightly: rake db:rollback (ASK FOR HELP)
Add Comment
Please, Sign In to add comment