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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

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

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

  • 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • 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,518 Points

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

    Posted February 17, 2018 5:33am by bessiebarnes
    bessiebarnes
    89,518 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.

    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.