Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. Associations
  2. - A link, relationship, ect. between two things
  3. - Process of breaking database tables into seperate tables (2 or more),
  4. then reducing the table down to unique instances is called "Normalization"
  5. - Foreign Key = A key of a foreign table
  6. -naming convention: -name of foreign table- + -id-
  7. One to many association:
  8. - belongs_to, describes association, passes in singular symbol
  9. - has_many, decribes association, passes in plural symbol
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement