aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/posts.yml
blob: 8d7e1e0ae70f066b7de5f50659184e4253f2cd7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
welcome:
  id: 1
  author_id: 1
  title: Welcome to the weblog
  body: Such a lovely day
  comments_count: 2
  tags_count: 1
  type: Post

thinking:
  id: 2
  author_id: 1
  title: So I was thinking
  body: Like I hopefully always am
  comments_count: 1
  tags_count: 1
  type: SpecialPost

authorless:
  id: 3
  author_id: 0
  title: I don't have any comments
  body: I just don't want to
  type: Post

sti_comments:
  id: 4
  author_id: 1
  title: sti comments
  body: hello
  comments_count: 5
  type: Post

sti_post_and_comments:
  id: 5
  author_id: 1
  title: sti me
  body: hello
  comments_count: 2
  type: StiPost

sti_habtm:
  id: 6
  author_id: 1
  title: habtm sti test
  body: hello
  type: Post

eager_other:
  id: 7
  author_id: 2
  title: eager loading with OR'd conditions
  body: hello
  type: Post
  comments_count: 1
  tags_count: 3

misc_by_bob:
  id: 8
  author_id: 3
  title: misc post by bob
  body: hello
  type: Post
  tags_count: 1

misc_by_mary:
  id: 9
  author_id: 2
  title: misc post by mary
  body: hello
  type: Post
  tags_count: 1

other_by_bob:
  id: 10
  author_id: 3
  title: other post by bob
  body: hello
  type: Post
  tags_count: 1

other_by_mary:
  id: 11
  author_id: 2
  title: other post by mary
  body: hello
  type: Post
  tags_count: 1