Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8041583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:16:14+00:00 2026-06-05T04:16:14+00:00

when I do: http://localhost:3000/signout it says: No route matches [GET] /signout This is because

  • 0

when I do:

http://localhost:3000/signout

it says:

No route matches [GET] "/signout"

This is because in my routes config file I have:

match '/signout', to: 'sessions#destroy', via: :delete

so my question is whether its possible to send a “delete” request via the URL, so instead of pressing a link:

<%= link_to "Sign out", signout_path, :method => :delete %>

I can mimic the action via URL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:16:16+00:00Added an answer on June 5, 2026 at 4:16 am

    Not really. Although DELETE is part of the HTTP spec almost all web browsers only know how to make GET and POST requestes. When you click a link_to with the :delete method Rails actually creates a form on the fly and ‘POSTs’ it back to the server. Have a look at the source code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting this error for the URL http://localhost:3000/dashboard/ Routing Error No route matches /dashboard
I have a problem with simple form for, I get this error url(http://localhost:3000/konkurrencer/new): Showing
When I try to go to this url: http://localhost:3000/lessons/18/pages , I get this error:
I have this: <li><%= link_to More, feed_products_path(product.id) ,{:class=>button-small white} %></li> This link outputs: http://localhost:3000/feed_products.34
I am in a web page: http://localhost:3000/ In this page I have a link:
Given this XML structure from (http://localhost:3000/route.xml): <objects type=array> <object> <trip0> <departure>20:01</departure> <start>Place a</start> <end>Place
When I navigate to: http://localhost:3000/users/1 I get a page that says simply: Unknown action
I have this if( window.location.href == http://localhost:3000/categories) { $(#container ul #all_categories a.categories-menu).css(font-weight,bold); } });
I have write a api service at 'http://localhost:3000/api/user/id', do a GET, can get a
I have a URL like this for each record: http://localhost:3000/items/3/stuff.json http://localhost:3000/items/1/stuff.json http://localhost:3000/items/4/stuff.json http://localhost:3000/items/9/stuff.json when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.