質問編集履歴

3

エラーの詳細を載せました

2018/07/02 12:22

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,22 @@
1
+ ```
2
+
1
- railsでアプリケーションを作っている際にwrong number of arguments (given 0, expected 2)というエラーが起きます。
3
+ ArgumentError (wrong number of arguments (given 0, expected 2)):
4
+
5
+
6
+
7
+ app/mailers/interview_mailer.rb:4:in `request'
8
+
9
+ app/mailers/interview_mailer.rb:7:in `request'
10
+
11
+ app/controllers/interviews_controller.rb:40:in `request_mail'
12
+
13
+
14
+
15
+ ```
16
+
17
+
18
+
19
+ railsでアプリケーションを作っている際に上記のようなエラーが起きます。
2
20
 
3
21
  mailerを使ってメール送信をする機能を作成したいと思っています。
4
22
 

2

初心者マークをつけ忘れていたのでつけました

2018/07/02 12:22

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
File without changes

1

エラーについて本文に書き忘れていたので修正

2018/07/02 12:20

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- railsでアプリケーションを作っている際にエラーが起きます。
1
+ railsでアプリケーションを作っている際にwrong number of arguments (given 0, expected 2)というエラーが起きます。
2
2
 
3
3
  mailerを使ってメール送信をする機能を作成したいと思っています。
4
4