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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
    • 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
      • • Vibe Coding
    • Showing results for:
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Close
  • christin mam
    christin mam
    43 Points

    i need help

    Posted on Oct 9, 2016 by christin mam
    christin mam
    43 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Creating a Has Many Through Association

    1 Answer

  • Richard Montenegro
    Richard Montenegro
    9,844 Points

    Treebook - Friend_id not saving?

    Posted on Oct 12, 2015 by Richard Montenegro
    Richard Montenegro
    9,844 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Testing Friendships

    2 Answers

  • Edward Poon
    Edward Poon
    9,313 Points

    Group feature?

    Posted on Nov 25, 2014 by Edward Poon
    Edward Poon
    9,313 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Project Overview

    1 Answer

  • itta Gur arie
    PLUS
    itta Gur arie
    Courses Plus Student 74 Points

    Hi i cant find the part that talks about creating groups

    Posted on Aug 6, 2014 by itta Gur arie
    itta Gur arie
    Courses Plus Student 74 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Project Overview

    0 Answers

  • Garan Guillory
    PLUS
    Garan Guillory
    Courses Plus Student 19,291 Points

    Deleting the params[:status] hash if it exists in the params hash

    Posted on Jun 20, 2014 by Garan Guillory
    Garan Guillory
    Courses Plus Student 19,291 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • More Parameter Modification

    2 Answers

  • Sean Perryman
    Sean Perryman
    13,810 Points

    Unable to get the update function to pass test

    Posted on May 28, 2014 by Sean Perryman
    Sean Perryman
    13,810 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • What is a Join Table?

    1 Answer

  • Chris Dziewa
    Chris Dziewa
    17,781 Points

    NameError

    Posted on May 21, 2014 by Chris Dziewa
    Chris Dziewa
    17,781 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Testing Friendships

    2 Answers

  • Sam Berson
    Sam Berson
    2,626 Points

    Testing Friendships: "UserFriendship should belong to friend." Error (Rails 4)

    Posted on May 12, 2014 by Sam Berson
    Sam Berson
    2,626 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Testing Friendships

    4 Answers

  • Iyad Horani
    PLUS
    Iyad Horani
    Courses Plus Student 6,141 Points

    testing for current user when updating is failing with Rails4

    Posted on May 12, 2014 by Iyad Horani
    Iyad Horani
    Courses Plus Student 6,141 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • What is a Join Table?

    1 Answer

  • Gustavo Paiva
    Gustavo Paiva
    9,279 Points

    Couldn't find status id

    Posted on Apr 22, 2014 by Gustavo Paiva
    Gustavo Paiva
    9,279 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • What is a Join Table?

    5 Answers

  • Lisa Rossiter
    Lisa Rossiter
    3,630 Points

    Still have errors need help

    Posted on Apr 11, 2014 by Lisa Rossiter
    Lisa Rossiter
    3,630 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • What is a Join Table?

    2 Answers

  • Lisa Rossiter
    Lisa Rossiter
    3,630 Points

    Testing errors

    Posted on Apr 7, 2014 by Lisa Rossiter
    Lisa Rossiter
    3,630 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • What is a Join Table?

    4 Answers

  • Jon Goodey
    Jon Goodey
    33,093 Points

    Delete the params[:status] hash if it exists in the params hash.

    Posted on Mar 8, 2014 by Jon Goodey
    Jon Goodey
    33,093 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • More Parameter Modification

    2 Answers

  • Artem Prytkov
    Artem Prytkov
    11,932 Points

    Can`t pass user_freindship tests

    Posted on Mar 1, 2014 by Artem Prytkov
    Artem Prytkov
    11,932 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Working with Associations

    2 Answers

  • Lut Garcia
    Lut Garcia
    3,631 Points

    Why error when testing $ ruby -I test test/unit/user_friendships_test.rb

    Posted on Feb 5, 2014 by Lut Garcia
    Lut Garcia
    3,631 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Testing Friendships

    0 Answers

  • Lut Garcia
    Lut Garcia
    3,631 Points

    Why error (@ 2:20): could not find table user_friendship...

    Posted on Feb 5, 2014 by Lut Garcia
    Lut Garcia
    3,631 Points
    • Ruby
    • Building Social Features in Ruby on Rails
    • Creating Friendships
    • Testing Friendships

    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.