Day 24: Adventures in Rubyland!

What a week!

Thursday, September 27th

Thursday, September 26th

Okay, so rails was definitely the turning point for me. Class was going better. I was more confident and excited to code again.

But there was still the matter of our ruby hackathon project which we only had two days left to finish it.

My partner and I sat in the Nature Room and reworked our failing code until terminal glowed with our successful code…

The Hold Up:

User input had to be an integer but it was being processed as a string so it kept evaluating to incorrect and giving the user the “you failed” message.

I had convinced myself that the integer/string problem wasn’t real because it seemed too simple, so I kept trying other solutions.

The Fix Up:

Thursday, September 26th

Thursday, September 26th

Shout out to pair programming! When I finally mentioned the integer/string thought to my partner she exclaimed that had to be the problem, she added .to_i to our formula and off we went to Rubyland!

We were happy to have written the working code on our own and even happier to understand what we wrote.

what are your thoughts?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s