🤑 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

  • 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
  • Carlos Andres rodriguez
    Carlos Andres rodriguez
    4,849 Points

    I don't understand what I am missing.

    Posted August 23, 2019 2:43pm by Carlos Andres rodriguez
    Carlos Andres rodriguez
    4,849 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Joe Quattrone
    Joe Quattrone
    195 Points

    what does this error mean? Bummer: Errno::ENOENT: No such file or directory @ rb_sysopen - 1

    Posted November 7, 2018 5:48pm by Joe Quattrone
    Joe Quattrone
    195 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • Eric Carter
    Eric Carter
    2,130 Points

    What is the challenge task asking for?

    Posted November 1, 2017 2:33pm by Eric Carter
    Eric Carter
    2,130 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Tobias Jackson
    Tobias Jackson
    9,758 Points

    Create a method named "create_shopping_list" that returns a hash. It does not need to ask for a name or get anything fro

    Posted March 22, 2017 12:49pm by Tobias Jackson
    Tobias Jackson
    9,758 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • Joman Dzidzi
    Joman Dzidzi
    196 Points

    Ruby Methods

    Posted December 22, 2016 12:46pm by Joman Dzidzi
    Joman Dzidzi
    196 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Simon Goldman
    Simon Goldman
    1,028 Points

    create a method

    Posted December 8, 2016 7:14pm by Simon Goldman
    Simon Goldman
    1,028 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Marguerite Holden
    Marguerite Holden
    6,075 Points

    Need help

    Posted October 17, 2016 7:55pm by Marguerite Holden
    Marguerite Holden
    6,075 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • ahmed aboukoura
    ahmed aboukoura
    1,345 Points

    consule problem

    Posted July 22, 2016 4:00pm by ahmed aboukoura
    ahmed aboukoura
    1,345 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Why isn't this working?

    Posted April 28, 2016 7:39pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • dididadaya Zhao
    dididadaya Zhao
    1,319 Points

    don't understand

    Posted March 9, 2016 8:12pm by dididadaya Zhao
    dididadaya Zhao
    1,319 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • isaacpollock
    isaacpollock
    1,023 Points

    why isn't this working

    Posted October 23, 2015 7:48pm by isaacpollock
    isaacpollock
    1,023 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • Jared Armes
    PLUS
    Jared Armes
    Courses Plus Student 6,391 Points

    Method won't return hash

    Posted August 17, 2015 12:40pm by Jared Armes
    Jared Armes
    Courses Plus Student 6,391 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • matyasmandk
    matyasmandk
    4,954 Points

    i dont undestand...

    Posted June 19, 2015 10:29am by matyasmandk
    matyasmandk
    4,954 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    0 Answers

  • Stephen Printup
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Stephen Printup
    UX Design Techdegree Student 45,252 Points

    Ruby Collections: Challenge 1 of 1: Hash

    Posted June 4, 2015 2:14pm by Stephen Printup
    .a{fill-rule:evenodd;}techdegree
    Stephen Printup
    UX Design Techdegree Student 45,252 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • Sharon Eller
    Sharon Eller
    3,090 Points

    Create a method named "create_shopping_list" that returns a hash

    Posted May 21, 2015 3:49pm by Sharon Eller
    Sharon Eller
    3,090 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    2 Answers

  • Will Long
    Will Long
    5,449 Points

    why does this say that it is not returning the hash when it explicitly say "return hash"

    Posted April 24, 2015 1:24am by Will Long
    Will Long
    5,449 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    1 Answer

  • Noobs guru
    Noobs guru
    3,847 Points

    whats wrong with this code?

    Posted February 4, 2015 2:50pm by Noobs guru
    Noobs guru
    3,847 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    3 Answers

  • jay niceness
    jay niceness
    7,406 Points

    seriously confused... asking to create simple method "create_shopping_list" and only return a hash... not working...

    Posted January 27, 2015 7:14am by jay niceness
    jay niceness
    7,406 Points
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash

    4 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.