質問編集履歴

1

ターミナルでのエラー文を追加しました

2020/02/07 13:14

投稿

hossy03
hossy03

スコア4

test CHANGED
File without changes
test CHANGED
@@ -16,15 +16,65 @@
16
16
 
17
17
 
18
18
 
19
- ```
19
+ ```error
20
20
 
21
21
  NoMethodError in RailsAdmin::Main#new
22
22
 
23
- Showing /Users/oobaseiko/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rails_admin-2.0.1/app/views/rails_admin/main/_form_filtering_multiselect.html.haml where line #20 raised:
23
+ Showing/Users/*****/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/rails_admin-692ae9910be9/app/views/rails_admin/main/index.html.haml where line #25 raised:
24
+
25
+
26
+
27
+ undefined method `properties' for nil:NilClass
24
28
 
25
29
 
26
30
 
27
31
  undefined method `type_for_attribute' for Store:Class
32
+
33
+ ```
34
+
35
+
36
+
37
+ ```terminal
38
+
39
+ Processing by RailsAdmin::MainController#index as HTML
40
+
41
+ Parameters: {"model_name"=>"user"}
42
+
43
+ User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1
44
+
45
+ ↳ config/initializers/rails_admin.rb:7:in `block (2 levels) in <top (required)>'
46
+
47
+ Rendering /Users/********/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/rails_admin-692ae9910be9/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application
48
+
49
+ Rendered /Users/********/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/rails_admin-692ae9910be9/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (Duration: 4.5ms | Allocations: 3663)
50
+
51
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.4ms | Allocations: 6428)
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+ ActionView::Template::Error (undefined method `properties' for nil:NilClass):
60
+
61
+ 22: - content_for :contextual_tabs do
62
+
63
+ 23: - if checkboxes
64
+
65
+ 24: = bulk_menu
66
+
67
+ 25: - if filterable_fields.present?
68
+
69
+ 26: %li.dropdown{style: 'float:right'}
70
+
71
+ 27: %a.dropdown-toggle{href: '#', :'data-toggle' => "dropdown"}
72
+
73
+ 28: = t('admin.misc.add_filter')
74
+
75
+
76
+
77
+ rails_admin (692ae9910be9) lib/rails_admin/config/fields/types/belongs_to_association.rb:19:in `block in <class:BelongsToAssociation>'
28
78
 
29
79
  ```
30
80