質問編集履歴
1
関連ファイルが違うものを記載していたため修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,43 +36,37 @@
|
|
36
36
|
#関連ファイル
|
37
37
|
|
38
38
|
```
|
39
|
-
#
|
39
|
+
#posts.yml
|
40
|
-
|
40
|
+
one:
|
41
|
-
|
41
|
+
store_name: MyString
|
42
|
-
email: michael@example.com
|
43
|
-
password_digest: <%= User.digest('password') %>
|
44
|
-
|
42
|
+
address: MyString
|
43
|
+
image: MyString
|
44
|
+
environment: MyString
|
45
|
+
evaluation: MyString
|
46
|
+
time_start: MyString
|
45
|
-
|
47
|
+
time_end: MyString
|
48
|
+
user: one
|
46
|
-
|
49
|
+
created_at: <%= 2.hours.ago %>
|
50
|
+
user: michael
|
47
51
|
|
48
|
-
|
52
|
+
two:
|
53
|
+
store_name: MyString
|
54
|
+
address: MyString
|
49
|
-
|
55
|
+
image: MyString
|
56
|
+
environment: MyString
|
50
|
-
|
57
|
+
evaluation: MyString
|
51
|
-
|
58
|
+
time_start: MyString
|
52
|
-
|
59
|
+
time_end: MyString
|
60
|
+
user: two
|
53
|
-
|
61
|
+
created_at: convert_tz('<%= Time.zone.now %>', '+00:00','+09:00');
|
54
|
-
|
55
|
-
lana:
|
56
|
-
|
62
|
+
user: ants
|
57
|
-
|
63
|
+
|
58
|
-
password_digest: <%= User.digest('password') %>
|
59
|
-
activated: true
|
60
|
-
activated_at: <%= Time.zone.now %>
|
61
|
-
|
62
|
-
malory:
|
63
|
-
name: Malory Archer
|
64
|
-
email: boss@example.gov
|
65
|
-
password_digest: <%= User.digest('password') %>
|
66
|
-
activated: true
|
67
|
-
activated_at: <%= Time.zone.now %>
|
68
|
-
|
69
64
|
<% 30.times do |n| %>
|
70
|
-
|
65
|
+
post_<%= n %>:
|
71
|
-
|
66
|
+
store_name: <%= Faker::Lorem.sentence(5) %>
|
72
|
-
|
67
|
+
address: <%= Faker::Lorem.sentence(5) %>
|
73
|
-
password_digest: <%= User.digest('password') %>
|
74
|
-
activated: true
|
75
|
-
|
68
|
+
created_at: <%= 42.days.ago %>
|
69
|
+
user: michael
|
76
70
|
<% end %>
|
77
71
|
```
|
78
72
|
|