Skip to main content

🛍️ CYBER MONDAY ALL WEEK get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

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

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
  • Eric Wheeler
    Eric Wheeler
    2,587 Points

    Why a syntax error?

    Posted April 17, 2018 5:27pm by Eric Wheeler
    Eric Wheeler
    2,587 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Alan Means
    Alan Means
    1,600 Points

    Stuck on ruby hash challenge

    Posted June 27, 2017 1:13am by Alan Means
    Alan Means
    1,600 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    0 Answers

  • Abhi Ramani
    Abhi Ramani
    4,228 Points

    output?

    Posted June 6, 2017 2:31pm by Abhi Ramani
    Abhi Ramani
    4,228 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Simon Goldman
    Simon Goldman
    1,028 Points

    hash_merge

    Posted December 8, 2016 6:41pm by Simon Goldman
    Simon Goldman
    1,028 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • dan cornwell
    dan cornwell
    6,877 Points

    what is going on. can you help me with this hash

    Posted June 5, 2016 11:35pm by dan cornwell
    dan cornwell
    6,877 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    2 Answers

  • dan cornwell
    dan cornwell
    6,877 Points

    what is going on. can you help me with this hash

    Posted June 5, 2016 11:35pm by dan cornwell
    dan cornwell
    6,877 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    0 Answers

  • Sanchari Bhattacharya
    PLUS
    Sanchari Bhattacharya
    Courses Plus Student 5,751 Points

    Using the values_at method, create an array called grocery_list with the value of the grocery_item hash at the "item" ke

    Posted May 3, 2016 8:27pm by Sanchari Bhattacharya
    Sanchari Bhattacharya
    Courses Plus Student 5,751 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    0 Answers

  • Crystal Clear
    Crystal Clear
    1,833 Points

    Help with Hashes in Ruby

    Posted March 20, 2016 1:36am by Crystal Clear
    Crystal Clear
    1,833 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Daniel Hulin
    Daniel Hulin
    1,852 Points

    What is wrong with my setup when combining my hashes?

    Posted February 17, 2016 3:05pm by Daniel Hulin
    Daniel Hulin
    1,852 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Leonardo Escalante
    Leonardo Escalante
    3,190 Points

    Code challenge merge with ruby

    Posted January 11, 2016 12:07am by Leonardo Escalante
    Leonardo Escalante
    3,190 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    2 Answers

  • Heber Sandoval
    PLUS
    Heber Sandoval
    Courses Plus Student 2,008 Points

    am having trouble with the method hash task. any help

    Posted November 19, 2015 11:53pm by Heber Sandoval
    Heber Sandoval
    Courses Plus Student 2,008 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    2 Answers

  • isaacpollock
    isaacpollock
    1,023 Points

    :-( still can't figure out what is wrong with this code

    Posted October 12, 2015 3:49pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • isaacpollock
    isaacpollock
    1,023 Points

    Whats wrong with my code?

    Posted October 7, 2015 2:44pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    0 Answers

  • isaacpollock
    isaacpollock
    1,023 Points

    What's wrong with my code!

    Posted September 30, 2015 3:21pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • isaacpollock
    isaacpollock
    1,023 Points

    I've watched the video over and over again but still can't seem to get it :-(

    Posted September 29, 2015 3:43pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Mateusz Hyla
    Mateusz Hyla
    4,658 Points

    I don't understand whats wrong with merge method

    Posted August 1, 2015 1:09pm by Mateusz Hyla
    Mateusz Hyla
    4,658 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    2 Answers

  • Hadas Cassorla
    Hadas Cassorla
    1,382 Points

    To create new hash containing the contents of two hashes merged, I wrote: new{hash1.merge(hash2)} why's this wrong

    Posted May 26, 2015 6:09pm by Hadas Cassorla
    Hadas Cassorla
    1,382 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Sara Brothers
    Sara Brothers
    7,341 Points

    Ruby Hash Methods Challenge 1 Task 1

    Posted May 6, 2015 8:04pm by Sara Brothers
    Sara Brothers
    7,341 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    2 Answers

  • Brenda Bouchard
    Brenda Bouchard
    5,028 Points

    Ruby Hash Methods Challenge 1 Task 1

    Posted May 6, 2015 6:44pm by Brenda Bouchard
    Brenda Bouchard
    5,028 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Juan Ordaz
    Juan Ordaz
    12,012 Points

    I am totally lost

    Posted April 19, 2015 8:29pm by Juan Ordaz
    Juan Ordaz
    12,012 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    1 Answer

  • Leon Mathis
    Leon Mathis
    23,404 Points

    Stuck on Ruby Hash Challenge

    Posted January 12, 2015 7:50pm by Leon Mathis
    Leon Mathis
    23,404 Points
    • Ruby
    • Ruby Collections
    • Ruby Hashes
    • Hash Methods

    3 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