Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • gene c
    gene c
    13,630 Points

    render template: "posts/index.html.erb", layout: "application"

    Posted December 16, 2019 5:03pm by gene c
    gene c
    13,630 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Controller

    1 Answer

  • gene c
    gene c
    13,630 Points

    How does the server know about the /posts extension?

    Posted December 16, 2019 4:55pm by gene c
    gene c
    13,630 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Browser's Request

    1 Answer

  • Muhammad sharifi
    Muhammad sharifi
    4,455 Points

    anyone can help

    Posted May 1, 2019 5:54pm by Muhammad sharifi
    Muhammad sharifi
    4,455 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • Handling Requests

    3 Answers

  • Khaokong Nopwattanapong
    Khaokong Nopwattanapong
    3,578 Points

    How do I get to blog directory.

    Posted June 25, 2018 1:19pm by Khaokong Nopwattanapong
    Khaokong Nopwattanapong
    3,578 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Controller

    1 Answer

  • Eylon Cohen
    Eylon Cohen
    4,779 Points

    how does the method .all knows what db table it needs?

    Posted November 27, 2017 4:22pm by Eylon Cohen
    Eylon Cohen
    4,779 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Model

    1 Answer

  • dwayne lewis
    PLUS
    dwayne lewis
    Courses Plus Student 5,712 Points

    Retake Course

    Posted November 22, 2017 10:52pm by dwayne lewis
    dwayne lewis
    Courses Plus Student 5,712 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Browser's Request

    2 Answers

  • teamz
    teamz
    44,723 Points

    Rails creates source code files--Rails quiz question help, please!

    Posted August 14, 2017 1:18am by teamz
    teamz
    44,723 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • Handling Requests

    1 Answer

  • Reed Carson
    Reed Carson
    8,306 Points

    What is this directory we are looking at and how did we get there?

    Posted November 27, 2016 10:18pm by Reed Carson
    Reed Carson
    8,306 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Controller

    1 Answer

  • Oğulcan Girginc
    Oğulcan Girginc
    24,848 Points

    What is the meaning of GET /posts.json comment?

    Posted October 10, 2016 2:04pm by Oğulcan Girginc
    Oğulcan Girginc
    24,848 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Controller

    1 Answer

  • Karen Ho
    Karen Ho
    10,190 Points

    In the question 'Suppose we created an app with a Widget resource. Complete this URL with the path to access a list of a

    Posted October 5, 2016 3:35pm by Karen Ho
    Karen Ho
    10,190 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • Browser Requests

    1 Answer

  • Jason Collins
    Jason Collins
    4,535 Points

    what text editor is being used here?

    Posted September 2, 2016 10:37pm by Jason Collins
    Jason Collins
    4,535 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • The Controller

    4 Answers

  • steven smith
    steven smith
    2,050 Points

    @pets = Pet.all render template: "pets/index.html.erb", layout:"application"

    Posted August 28, 2016 9:45pm by steven smith
    steven smith
    2,050 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Handling Requests
    • Complete a Controller

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord