✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Close
  • bashburn
    bashburn
    7,611 Points

    Delete request kept being sent as GET request. Issue only fixed by changing link_to to button_to.

    Posted on Dec 26, 2021 by bashburn
    bashburn
    7,611 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    1 Answer

  • MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points

    The delete method posted on this video isn't working for me since I am still using sinatra.

    Posted on Dec 3, 2018 by MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    1 Answer

  • Peter Buckwalter
    Peter Buckwalter
    6,846 Points

    Assigning prefixes when using the resources :pages method

    Posted on Oct 30, 2018 by Peter Buckwalter
    Peter Buckwalter
    6,846 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Rails Resources

    1 Answer

  • Andrea Gomez
    Andrea Gomez
    8,609 Points

    Delete method not working on Rails 5.1.4

    Posted on Jan 16, 2018 by Andrea Gomez
    Andrea Gomez
    8,609 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    3 Answers

  • Brendan Whiting
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points

    Why is 'delete' renamed to 'destroy'?

    Posted on Nov 30, 2017 by Brendan Whiting
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Rails Resources

    1 Answer

  • Karrtik Iyer
    Karrtik Iyer
    3,738 Points

    Instead of method:delete in erb can we use delete_path or destory_path?

    Posted on Jul 30, 2017 by Karrtik Iyer
    Karrtik Iyer
    3,738 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    1 Answer

  • Andrew Schrenk
    Andrew Schrenk
    11,557 Points

    Where does the "pages_path"" method come from?

    Posted on Jul 15, 2017 by Andrew Schrenk
    Andrew Schrenk
    11,557 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    2 Answers

  • mahdi mostafa
    mahdi mostafa
    9,750 Points

    Delete not deleting (Ruby)

    Posted on May 22, 2017 by mahdi mostafa
    mahdi mostafa
    9,750 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    0 Answers

  • Alex Bannon
    Alex Bannon
    4,841 Points

    In Rails, Why Are Methods Symbols?

    Posted on Apr 30, 2017 by Alex Bannon
    Alex Bannon
    4,841 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Filters

    1 Answer

  • Danish Saleem
    Danish Saleem
    7,965 Points

    No route matches [DELETE] "/pages/4"

    Posted on Apr 27, 2017 by Danish Saleem
    Danish Saleem
    7,965 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Deleting Pages

    1 Answer

  • PoJung Chen
    PoJung Chen
    5,856 Points

    Prefix in routes can be set manually?

    Posted on Feb 20, 2017 by PoJung Chen
    PoJung Chen
    5,856 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Rails Resources

    1 Answer

  • Jin Cao
    Jin Cao
    4,067 Points

    Your next step should be to learn the details of how models views and controllers work separately.

    Posted on Dec 12, 2016 by Jin Cao
    Jin Cao
    4,067 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Delete Action
    • Summary

    5 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.