質問編集履歴
1
質問者様のアドバイスで追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -60,4 +60,33 @@
|
|
60
60
|
|
61
61
|
/Users/megataichi/.rbenv/versions/2.7.0/bin/ruby -I/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/lib:/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.9.2/lib /Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.1/exe/rspec --pattern spec/**\{,/*/**\}/*_spec.rb failed
|
62
62
|
|
63
|
+
```
|
64
|
+
追記分
|
65
|
+
|
66
|
+
① app/views/static_pages/home.html.erb
|
67
|
+
```
|
68
|
+
<% provide(:title, "Home") %>
|
69
|
+
<h1>Sample App</h1>
|
70
|
+
<p>
|
71
|
+
This is the home page for the
|
72
|
+
<a href="https://railstutorial.jp/">Ruby on Rails Tutorial</a>
|
73
|
+
sample application.
|
74
|
+
</p>
|
75
|
+
|
76
|
+
```
|
77
|
+
|
78
|
+
② bundle exec rake routes の実行結果
|
79
|
+
```
|
80
|
+
/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.2/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
|
81
|
+
/Users/megataichi/portfolio/lantern_app/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.2/lib/action_dispatch/middleware/static.rb:111: warning: The called method `initialize' is defined here
|
82
|
+
Prefix Verb URI Pattern Controller#Action
|
83
|
+
static_pages_home GET /static_pages/home(.:format) static_pages#home
|
84
|
+
static_pages_about GET /static_pages/about(.:format) static_pages#about
|
85
|
+
root GET / static_pages#home
|
86
|
+
about GET /about(.:format) static_pages#about
|
87
|
+
rails_service_blob GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs#show
|
88
|
+
rails_blob_representation GET /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
|
89
|
+
rails_disk_service GET /rails/active_storage/disk/:encoded_key/*filename(.:format) active_storage/disk#show
|
90
|
+
update_rails_disk_service PUT /rails/active_storage/disk/:encoded_token(.:format) active_storage/disk#update
|
91
|
+
rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format)
|
63
92
|
```
|