質問編集履歴
1
エラー内容を追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,6 +21,18 @@
|
|
21
21
|
Ruby 2.5.0
|
22
22
|
|
23
23
|
Ruby on Rails 5.2.1
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
> エラー
|
28
|
+
|
29
|
+
```
|
30
|
+
|
31
|
+
NameError: undefined local variable or method `booking' for #<Booking:0x00007fc388039280>
|
32
|
+
|
33
|
+
from /Users/xxxx/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activemodel-5.2.1/lib/active_model/attribute_methods.rb:430:in `method_missing'
|
34
|
+
|
35
|
+
```
|
24
36
|
|
25
37
|
|
26
38
|
|