Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Help with Ruby

Iam looking for some videos that would provide me some guidance in completing a homework assignment. Can some one suggest a video that would cover the information I need to know to complete the following using Ruby:

Create an Inventory System

Inventory system should track the count of 4 items.

The program should output the current items in a numbered list, and their current counts to the screen and then prompt the user to enter which item should be edited.

After the user chooses the item to edit, the users should be allowed to enter a new Inventory count for the item.

2 Answers

All I can really offer is that you take the ruby foundations course. I would take all of the courses up to and including "Loops." That should give you want you need.

The Ruby Collections course has something similar as the end project ( the 'Build a Grocery List Program' badge ). With the skills and knowledge learned about Arrays and Hashes, and the examples from the videos, you should be able to build your Inventory System project fairly quickly.

If you get stuck in a particular spot, post up a new question and someone will help you through it.