Tuesday, October 22, 2013

Rails Time

Spent the better part of the last week ramping up on CSS and HTML via Treehouse.

The Deep Dives for HTML and Building a Website are complete. I'll finish up CSS Foundations this week sometime.

I then moved on to Michael Hartl's  Rail's tutorial where I'm slugging along in section 7.4. Everything was going smoothly up until that point.

The result should be a failed sign up attempt that shows error messages and test isn't passing...


I get the following errors...





Looks like I placed the 'shared' folder inside 'users' when it should have been directly under 'views. Can't believe it... so simply.  Spent two hours last night trying to get this to work and it took me less than three minutes to figure it out while creating this blog post.

Left = After               |        Right = Before

Yeah! It works.





I'm concerned that I'm not retaining the info, but repetition is the key to mastery so that's what I'll do.


LAST WEEK: 46.32 hours | TOTAL: 159 hours

Monday, October 14, 2013

The Pragmatic Approach to Ruby

Ruby is becoming a friend, slowly but surely we'll become BFFs. Many challenges, successes and Aha! moments.

Flow Controls

Struggled with flow controls in Chris Pine's Learn to Program. Come to find out I was reading the lines wrong and confused myself.  Of course I found this out when I reached out to a friend an hour and some change later. Pssh.

I was over on Stack Overflow and someone mentioned Rubber Ducking. It's where you place a rubber duck on your desk and tell it your deepest/darkest secrets challenges.

By talking to the ducky it helps you realize where you went wrong. So I've been talking to my little buddy here and yes, it does help.

Arrays and Iterators

Spent way too long trying to figure out the 'A few things to try' section in Pine's book. I pushed through with the lesson and made comments on the PDF as I went and bookmarked things to review.

Pragmatic Ruby Programming Video Course

Started Pragmatic Ruby Programming on October 11th. Was introduced to the Ruby ri Tool and wow, big help.

It includes 25 videos, workbook and lots of other goodies. In total, the videos are five hours but I spent nine hours on the first couple of lessons working through the tasks and the bonus tasks, slow and steady. I'm almost complete with the course though a few things have tripped me up.

...freaking error messages during testing.

Spent over three hours trying to find out how to get Rspec to work in Sublime, gave up and tried it via the command line---more error messages. I figured out the first issue... I forgot the 'do' on line 11. So simple.

So after that was solved I moved on and more errors popped up and I made sure all my 'dos' were there. Still trying to figure out what's happening.

I have to say the the visuals are a big help and the workbook is a plus along with the deeper dive reading material, Programming Ruby 1.9 & 2.0 by Dave Thomas.

New to me (Discoveries):

Divvy - workspace window manager.
Octopress - blogging framework.
Contributed to Daniel Kehoe's book kickstarter, Learn Ruby on Rails.

THIS WEEK: 48.52 hours TOTAL: 112.68 hours

Monday, October 7, 2013

More Pinteresting - One Month Rails

During the month of September I refocused on my *JOB*.  After getting my writing affairs in order I'm back on the horse.

I knocked a TV pilot script along with 10 additional episodes and completed my first short film screenplay. I'm entering it into the Bluecat competition. It offers one of the largest cash prizes in the whole wide world... $10,000. So, yeah... big incentive.

I picked up No Degree, No Problem by Josh Kemp. If you're interested in becoming a developer check out his story. It's inspiring.
"After 827 hours of studying/learning I landed a sweet gig as a Partner Integration Specialist at ZipList in Northern Va." - Kemp's blog.
After finishing Josh's book I decided to jump back in and refresh. Mattan Griffel created an awesome video series, One Month Rails. He updated the videos for Ruby 2 and Rails 4. If you've taken the course before check it out again. I'll finish up the course tomorrow. Six videos to go.

TODAY: 06:37     TOTAL: 63:49