Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 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
  • Henrik Sabroe
    Henrik Sabroe
    2,023 Points

    Active Record Associations in Rails - Challenge Task 1 of 1 Is this challenge working properly?

    Posted November 9, 2021 8:49pm by Henrik Sabroe
    Henrik Sabroe
    2,023 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    1 Answer

  • Fabian Pijpers
    PLUS
    Fabian Pijpers
    Courses Plus Student 41,372 Points

    Does anyone see where i mist the buck on this one?

    Posted February 13, 2021 7:31pm by Fabian Pijpers
    Fabian Pijpers
    Courses Plus Student 41,372 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    2 Answers

  • Muhammad sharifi
    Muhammad sharifi
    4,455 Points

    _form.html.erb errors

    Posted May 21, 2019 8:26pm by Muhammad sharifi
    Muhammad sharifi
    4,455 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Creating an Associated Record

    1 Answer

  • Ben Omondi
    Ben Omondi
    3,522 Points

    Employee > Salaries Modeling Question

    Posted April 25, 2019 6:57pm by Ben Omondi
    Ben Omondi
    3,522 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    2 Answers

  • fazrul kamisan
    fazrul kamisan
    9,368 Points

    No route matches {:action=>"edit", :controller=>"comments", :id=>nil, :post_id=>"2"}, missing required keys: [:id]

    Posted April 1, 2019 10:31pm by fazrul kamisan
    fazrul kamisan
    9,368 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Updating an Associated Record

    3 Answers

  • Figmints Delicious Design
    Figmints Delicious Design
    14,305 Points

    Render error

    Posted January 14, 2019 9:44pm by Figmints Delicious Design
    Figmints Delicious Design
    14,305 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    1 Answer

  • Jacob Brantley
    Jacob Brantley
    124 Points

    Accessing comments from the post_controller

    Posted November 26, 2018 2:22am by Jacob Brantley
    Jacob Brantley
    124 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Updating an Associated Record

    4 Answers

  • Jacob Brantley
    Jacob Brantley
    124 Points

    before_action :set_post performance

    Posted November 26, 2018 2:13am by Jacob Brantley
    Jacob Brantley
    124 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Updating an Associated Record

    2 Answers

  • Lukasz Walczak
    Lukasz Walczak
    6,620 Points

    @post.comments.create(comment_params) Vs. @post.comments.new(comment_params)

    Posted September 12, 2018 11:43am by Lukasz Walczak
    Lukasz Walczak
    6,620 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Creating an Associated Record

    1 Answer

  • Christopher Phillips
    Christopher Phillips
    10,061 Points

    No before_action for @comment ?

    Posted August 4, 2018 4:09am by Christopher Phillips
    Christopher Phillips
    10,061 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Updating an Associated Record

    1 Answer

  • Kristina Ivanova
    Kristina Ivanova
    20,169 Points

    I'm not sure why I'm getting an error here.

    Posted July 13, 2018 8:06pm by Kristina Ivanova
    Kristina Ivanova
    20,169 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Nested Routes and Resources

    1 Answer

  • Brad Givens
    Brad Givens
    6,621 Points

    Rendering Partial -

    Posted May 8, 2018 8:52pm by Brad Givens
    Brad Givens
    6,621 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    1 Answer

  • Sam Ruedinger
    Sam Ruedinger
    6,862 Points

    Is this a problem with Workspaces or am I just more confused than I thought?

    Posted March 21, 2018 7:41pm by Sam Ruedinger
    Sam Ruedinger
    6,862 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    2 Answers

  • Brad Givens
    Brad Givens
    6,621 Points

    Active record association

    Posted March 15, 2018 9:50pm by Brad Givens
    Brad Givens
    6,621 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    1 Answer

  • bessiebarnes
    bessiebarnes
    89,616 Points

    Help with Nested Routes Challenge. What am I doing wrong?

    Posted February 17, 2018 5:33am by bessiebarnes
    bessiebarnes
    89,616 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Nested Routes and Resources

    3 Answers

  • Paige Jones
    Paige Jones
    20,144 Points

    Active Record render quiz question

    Posted January 31, 2018 5:23pm by Paige Jones
    Paige Jones
    20,144 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Rendering Collections

    4 Answers

  • caven xu
    PLUS
    caven xu
    Courses Plus Student 13,400 Points

    How about separately writing `new` `create` in comments_controller ?

    Posted November 2, 2017 2:02pm by caven xu
    caven xu
    Courses Plus Student 13,400 Points
    • Ruby
    • Active Record Associations in Rails
    • Using Associations in Your App
    • Creating an Associated Record

    0 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