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

IRB freezing problem..!

whenever I follow this tutorial (https://teamtreehouse.com/library/programming/ruby-foundations/methods/class-methods), ever since I use the gem, 'awesome_print', my command does not work!

1.9.3-p392 :003 > BankACcount.create_for("Mike,"Frog")
1.9.3-p392 :004"> bank_account = BankAccount.find_for("Dongju","Seo")
1.9.3-p392 :005"> bank_account.deposit(100)
1.9.3-p392 :008"> exit

They don't show and either exit! Even I restarted IRB and redone everything, but it does not show any changes.. :(

Just from looking at this code, look at the quotations on line 003 around the word Mike, looks like you're missing a set.

also, the difference between BankACCount and BankAccount

Thank you so much! I fixed at the end before I read your comments though, I still think misspelling is necessary to double check!! :)

1 Answer

Answer in comments.

Great job Tomasz and Dongju!