質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,3 +41,45 @@
|
|
41
41
|
|
42
42
|
|
43
43
|
検索しても情報が見つかりませんでした。
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
### 追記
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
class BatchController < Rails::Application
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
def self.get
|
56
|
+
|
57
|
+
Rails.logger.info "Start..."
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
receipt = false
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
if !receipt
|
66
|
+
|
67
|
+
Rails.logger.info "no data."
|
68
|
+
|
69
|
+
render :plain => "no data."
|
70
|
+
|
71
|
+
return
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
render :plain => "test"
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
```
|