✨ 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 Read Action
    • Close
  • Fabian Pijpers
    PLUS
    Fabian Pijpers
    Courses Plus Student 41,372 Points

    Does anyone no here i seem to have lost it in the routes.

    Posted on Jan 27, 2021 by Fabian Pijpers
    Fabian Pijpers
    Courses Plus Student 41,372 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    1 Answer

  • Desi Tomaselli
    Desi Tomaselli
    976 Points

    I'm confused as to why I'm receiving a syntax error on this.

    Posted on Jul 24, 2020 by Desi Tomaselli
    Desi Tomaselli
    976 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Path Helpers

    1 Answer

  • PRAKASH ANAND
    PLUS
    PRAKASH ANAND
    Courses Plus Student 5,060 Points

    SyntaxError: e8487181-3b3d-412b-b96b-06353bf0c0ea.rb:45: syntax error, unexpected '\n', expecting =>

    Posted on Aug 18, 2019 by PRAKASH ANAND
    PRAKASH ANAND
    Courses Plus Student 5,060 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Path Helpers

    0 Answers

  • PRAKASH ANAND
    PLUS
    PRAKASH ANAND
    Courses Plus Student 5,060 Points

    Your route's path needs to include an "id" URL parameter.

    Posted on Aug 18, 2019 by PRAKASH ANAND
    PRAKASH ANAND
    Courses Plus Student 5,060 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    1 Answer

  • anthonybrackner
    anthonybrackner
    17,776 Points

    Getting Error After Adding show.html.erb file to pages.

    Posted on Feb 16, 2019 by anthonybrackner
    anthonybrackner
    17,776 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Creating a Show View

    1 Answer

  • MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points

    page body isn't showing.

    Posted on Apr 4, 2018 by MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Finding a Page

    2 Answers

  • Brad Givens
    Brad Givens
    6,621 Points

    Setting up a route - not working.

    Posted on Feb 14, 2018 by Brad Givens
    Brad Givens
    6,621 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    2 Answers

  • bessiebarnes
    bessiebarnes
    89,521 Points

    I'm stuck again on a challenge. I need help.

    Posted on Feb 4, 2018 by bessiebarnes
    bessiebarnes
    89,521 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Creating a Show View

    1 Answer

  • Rick Love
    Rick Love
    5,312 Points

    undefined local variable or method `page' for #<#<Class:0x007ff2ba33ba30>:0x007ff2bc0c61e0> Did you mean? @pages

    Posted on Sep 3, 2017 by Rick Love
    Rick Love
    5,312 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Path Helpers

    3 Answers

  • Mohak Goyal
    Mohak Goyal
    3,240 Points

    list of all pet

    Posted on Jun 28, 2017 by Mohak Goyal
    Mohak Goyal
    3,240 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Linking to Model Objects

    1 Answer

  • Quynh To Tuan
    Quynh To Tuan
    8,192 Points

    "render text:" shows error

    Posted on May 5, 2017 by Quynh To Tuan
    Quynh To Tuan
    8,192 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Finding a Page

    5 Answers

  • Marko Sabec
    Marko Sabec
    27,828 Points

    Ruby

    Posted on Mar 3, 2017 by Marko Sabec
    Marko Sabec
    27,828 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Path Helpers

    1 Answer

  • yanchung cheng
    yanchung cheng
    11,640 Points

    Finding A Model Object

    Posted on Feb 11, 2017 by yanchung cheng
    yanchung cheng
    11,640 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Finding a Model Object

    2 Answers

  • Matthew Austin
    Matthew Austin
    16,452 Points

    Trouble with 2nd code challenge for creating a route

    Posted on Dec 7, 2016 by Matthew Austin
    Matthew Austin
    16,452 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    1 Answer

  • Slimane Bouabbane
    Slimane Bouabbane
    6,385 Points

    Can you help with this challenge

    Posted on Nov 30, 2016 by Slimane Bouabbane
    Slimane Bouabbane
    6,385 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    2 Answers

  • Caitlin Palmer-Bright
    Caitlin Palmer-Bright
    11,310 Points

    Rails Routes and Resources Challenge url parameters

    Posted on Nov 14, 2016 by Caitlin Palmer-Bright
    Caitlin Palmer-Bright
    11,310 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Set Up a URL Parameter

    2 Answers

  • Alejandro Garcia
    Alejandro Garcia
    2,103 Points

    Embed a link in this template's output using the link_to method. The link text should say "List of all Pets", and the li

    Posted on Nov 1, 2016 by Alejandro Garcia
    Alejandro Garcia
    2,103 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to a Read Action
    • Linking to Model Objects

    1 Answer

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.