Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1678f24

Browse files
committedApr 23, 2014
week 4 materials
1 parent 9ab3c2d commit 1678f24

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
 

‎week3/class_material/week3.key

32 Bytes
Binary file not shown.

‎week4/class_materials/week4.key

1.19 MB
Binary file not shown.

‎week4/homework/questions.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Reading:
2+
Chapter 6: Sections 4-6
3+
Chapter 7: All
4+
Chapter 9: Section 1
5+
Chapter 11: Sections 9-11
6+
7+
Code:
8+
Add 2 relationships to your app:
9+
1. Has Many (one-to-many)
10+
2. Has Many Through (many-to-many)
11+
Add 2 named scopes
12+
13+
Questions:
14+
1. What is ActiveRecord and why is it useful?
15+
2. What problems could happen if you change a migration file after you have run it and committed it to github? (list 2)
16+
3. What problems can you run into with the Rails has_and_belongs_to_many method? (list 2)
17+
4. How is Rails form_for object oriented?
18+
5. How would I use postgres in production and sqlite for development? What files would I change and how would I change them?
19+
6. What is the seeds file? How do I run it?
20+
21+
Link to code on Github:
22+
<please put the link to your code on github here>

0 commit comments

Comments
 (0)
This repository has been archived.