✨ 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
    • Ruby on Rails 5 Basics
    • Handling Requests
    • Close
  • gene c
    gene c
    13,630 Points

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

    Posted on Dec 16, 2019 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 on Dec 16, 2019 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 on May 1, 2019 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 on Jun 25, 2018 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 on Nov 27, 2017 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 on Nov 22, 2017 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 on Aug 14, 2017 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 on Nov 27, 2016 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 on Oct 10, 2016 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 on Oct 5, 2016 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 on Sep 2, 2016 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 on Aug 28, 2016 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.

    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.