✨ Earn college credits in Cybersecurity, JS, HTML, CSS and 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

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

  • 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
    • Showing results for:
    • Ruby
    • Ruby Collections
    • Build a Grocery List Program
    • Create a Method That Returns a Hash
    • Close
  • Carlos Andres rodriguez
    Carlos Andres rodriguez
    4,849 Points

    I don't understand what I am missing.

    Posted on Aug 23, 2019 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 on Nov 7, 2018 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 on Nov 1, 2017 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 on Mar 22, 2017 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 on Dec 22, 2016 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 on Dec 8, 2016 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 on Oct 17, 2016 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 on Jul 22, 2016 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 on Apr 28, 2016 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 on Mar 9, 2016 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 on Oct 23, 2015 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 on Aug 17, 2015 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 on Jun 19, 2015 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 on Jun 4, 2015 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 on May 21, 2015 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 on Apr 24, 2015 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 on Feb 4, 2015 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 on Jan 27, 2015 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.