Home>
Created a comment orchid on prototype
I want to send that comment and move the page safely
Error message
It happened in the middle of creation with ruby on rails
Error message
This is an error statement
Routing Error
No route matches [GET] "/ prototype/1"
Rails.root: /Users/kamiyaryota/Desktop/projects/protospace-31035
Application Trace | Framework Trace | Full Trace
Routes
Routes match in priority from top to bottom
Helper HTTP Verb Path Controller # Action
Path/Url
Path Match
new_user_session_path GET/users/sign_in (.: format)
devise/sessions # new
user_session_path POST/users/sign_in (.: format)
devise/sessions # create
destroy_user_session_path DELETE/users/sign_out (.: format)
devise/sessions # destroy
new_user_password_path GET/users/password/new (.: format)
devise/passwords # new
edit_user_password_path GET/users/password/edit (.: format)
devise/passwords # edit
user_password_path PATCH/users/password (.: format)
devise/passwords # update
PUT/users/password (.: Format)
devise/passwords # update
POST/users/password (.: Format)
devise/passwords # create
cancel_user_registration_path GET/users/cancel (.: Format)
devise/registrations # cancel
new_user_registration_path GET/users/sign_up (.: format)
devise/registrations # new
edit_user_registration_path GET/users/edit (.: format)
devise/registrations # edit
user_registration_path PATCH/users (.: format)
devise/registrations # update
PUT/users (.: Format)
devise/registrations # update
DELETE/users (.: format)
devise/registrations # destroy
POST/users (.: format)
devise/registrations # create
root_path GET /
prototypes # index
new_user_path GET/users/new (.: format)
users # new
edit_user_path GET/users /: id/edit (.: format)
users # edit
user_path PATCH/users /: id (.: format)
users # update
PUT/users /: id (.: format)
users # update
prototype_comments_path POST/prototypes /: prototype_id/comments (.: format)
comments #create
prototypes_path POST/prototypes (.: format)
prototypes # create
new_prototype_path GET/prototypes/new (.: format)
prototypes # new
edit_prototype_path GET/prototypes /: id/edit (.: format)
prototypes # editprototype_path GET/prototypes /: id (.: format)
prototypes # show
PATCH/prototypes /: id (.: format)
prototypes # update
PUT/prototypes /: id (.: format)
prototypes # update
DELETE/prototypes /: id (.: format)
prototypes #destroy
users_sign_out_path GET/users/sign_out (.: format)
devise/sessions # destroy
rails_postmark_inbound_emails_path POST/rails/action_mailbox/postmark/inbound_emails (.: Format)
action_mailbox/ingresses/postmark/inbound_emails # create
rails_relay_inbound_emails_path POST/rails/action_mailbox/relay/inbound_emails (.: format)
action_mailbox/ingresses/relay/inbound_emails # create
rails_sendgrid_inbound_emails_path POST/rails/action_mailbox/sendgrid/inbound_emails (.: format)
action_mailbox/ingresses/sendgrid/inbound_emails # create
rails_mandrill_inbound_health_check_path GET/rails/action_mailbox/mandrill/inbound_emails (.: Format)
action_mailbox/ingresses/mandrill/inbound_emails # health_check
rails_mandrill_inbound_emails_path POST/rails/action_mailbox/mandrill/inbound_emails (.: Format)
action_mailbox/ingresses/mandrill/inbound_emails # create
rails_mailgun_inbound_emails_path POST/rails/action_mailbox/mailgun/inbound_emails/mime (.: format)
action_mailbox/ingresses/mailgun/inbound_emails # create
rails_conductor_inbound_emails_path GET/rails/conductor/action_mailbox/inbound_emails (.: Format)
rails/conductor/action_mailbox/inbound_emails # index
POST/rails/conductor/action_mailbox/inbound_emails (.: Format)
rails/conductor/action_mailbox/inbound_emails # create
new_rails_conductor_inbound_email_path GET /rails/conductor/action_mailbox/inbound_emails/new(.:format)
rails/conductor/action_mailbox/inbound_emails # new
edit_rails_conductor_inbound_email_path GET/rails/conductor/action_mailbox/inbound_emails /: id/edit (.: format)
rails/conductor/action_mailbox/inbound_emails # edit
rails_conductor_inbound_email_path GET/rails/conductor/action_mailbox/inbound_emails /: id (.: format)
rails/conductor/action_mailbox/inbound_emails # show
PATCH/rails/conductor/action_mailbox/inbound_emails /: id (.: format)
rails/conductor/action_mailbox/inbound_emails # update
PUT/rails/conductor/action_mailbox/inbound_emails /: id (.: format)
rails/conductor/action_mailbox/inbound_emails # update
DELETE/rails/conductor/action_mailbox/inbound_emails /: id (.: format)
rails/conductor/action_mailbox/inbound_emails # destroy
rails_conductor_inbound_email_reroute_path POST/rails/conductor/action_mailbox /: inbound_email_id/reroute (.: format)
rails/conductor/action_mailbox/reroutes # create
rails_service_blob_path GET/rails/active_storage/blobs /: signed_id/* filename (.: format)
active_storage/blobs # show
rails_blob_representation_path GET/rails/active_storage/representations /: signed_blob_id /: variation_key/* filename (.: format)
active_storage/representations # show
rails_disk_service_path GET/rails/active_storage/disk /: encoded_key/* filename (.: format)
active_storage/disk # show
update_rails_disk_service_path PUT/rails/active_storage/disk /: encoded_token (.: format)
active_storage/disk # update
rails_direct_uploads_path POST/rails/active_storage/direct_uploads (.: format)
active_storage/direct_uploads # create
Request
Parameters:
None
Toggle session dump
Toggle env dump
Response
Headers:
None
routes.rb
Rails.application.routes.draw do
devise_for: users
root to: "prototypes # index"
resources: users, only: [: new,: edit,: update,]
resources: prototypes, only: [: new,: create,: show,: edit,: update,: destroy,] doresources: comments, only :: create
end
devise_
scope: user do
get'/ users/sign_out' =>'devise/sessions # destroy'
end
end
comments controller rb
class CommentsController
prototypes controller-rb
class PrototypesController
-
Answer # 1
Related articles
- ruby on rails - cart function routing error cannot be resolved
- ruby on rails - rails routing error
- ruby - i'm getting a routing error
- ruby - i get a #routing error
- ruby - routing error no route matches [patch] i want to resolve "/ prototypes"
- ruby - i get a routing error when i delete
- ruby - when i try to update rails, i get a routing error
- ruby - i want to resolve a routing error in the create action
- ruby - routing error no route matches [post] appears
- ruby routing error
- ruby on rails 6 - about rails routing error no route matches [get] "/"
- ruby - routing error no route matches [post] i want to resolve "/ items/new"
- ruby on rails - i want to resolve a routing error
- html - i want to fix a routing error
- ruby - i got "mysql2 :: error :: connectionerror: plugin caching_sha2_password could not be loaded "
- ruby on rails uninitialized constant error
- ruby - validation error when saving intermediate table
- ruby - http error 500 error occurred in aws deployment, but the cause cannot be determined
- ruby error code
Related questions
- ruby - passing variables using render partial
- ruby - deployment error on heroku
- ruby - output the total integer value held by each user
- ruby - i want to use the search method for active hash data
- ruby - destroy action does not respond
- ruby - how do you see the rails controller relative path? (carrierwave directory deleted)
- ruby - when deploying on capistrano, i get the error "access denied for user'ec2-user' @'localhost' (using password: no)&qu
- javascript - run multiple times with js + each do
- how to reflect the layout downloaded from the external site in ruby on rails?
- ruby - how nice! function routes do not pass well (relation) [rails]
"I made it by adding s to/prototype /