bloc referral

If you are interested in learning to code with a mentor, try bloc and get $100 off.

Friday, January 24, 2014

3rd App complete: Checking logs for errors.

I am just about to finish my 3rd month learning programming and stoked that I have completed my 3rd web app. I spent about 20 hours building it and maybe another 5 this week cleaning it up. This was also my first app that I did not follow a tutorial to build, although I did reference some old tutorials for specific things and used a Rspec tutorial as a guideline.

I am looking forward to starting my 4th app Blockmarks, which involve quite a few things I have not implemented. More on that to come.

I do want to pass on some advice as well as remind myself to check the logs when debugging. I always start with the error on the localhost page but alway forget to check the "rails server" log for the root of the issue. I found a pattern when I kept getting stumped and going to my mentor for help, only to find out my answer was in the log.

This morning I had an error running my app on the Heroku. I wrote a long message with embedded code to my mentor and realized I did not even check the heroku log. I ended up deleting my message and will work on the solution some time today. I will share the app later once I get a chance to fix. For here is the Github

Remember to check your logs. cmd+f "error"

rails s

Tuesday, January 21, 2014

2 things I wish I tried 2 months ago

I took the day off of work because my wife was not feeling well (I needed to watch the boy). I while they both were sleeping I got through a chunk of the Rspec book and also read the first 7 chapters of Learn Rails by Daniel Kehoe.

1. Learn Rails by Daniel Kehoe

Since I sign up for everything I signed up to review a copy of the book but actually never read it since I went directly from One Month Rails to Bloc, while finishing a semester for my MBA. Well I finally read through the intro (first 7 chapters) and wished I read it when I got it. If you are new to Rails or maybe only have 1 Rails app under your belt; I highly recommend this book. It gives a different perspective to OMR and the first few chapters are gold when it comes to Ruby Newbies. The book now cost $19 a month, but similar to OMR, you can through it in a couple of weekends.

2. Rails hotline
In the beginning of the Daniel Kehoe book he goes through tons of resources including Rails hotline, which sounds pretty awesome. I currently use Bloc's office hours and have become accustomed to it, but I think I will still try it out at least once. Those who aren't in Bloc could find this extremely helpful. I will definitely write a post on it when I do use it.

Some other gems I found that I would like to try eventually:
App Scroll 
Pairprogramwith.me
RailsWizard

Monday, January 20, 2014

Things to do: Taskoff and Rspec Book by Aaron Sumners.

I had to postpone my Test Driven Development due to fact of my Rspec learning curve. I was getting a little confused on how to describe the certain functions in the test spec file, but I did pick a book from Everdayrails which should only take a few hours to complete. My hope is once I complete that tonight I will have a better understanding of TDD and follow with it throughout the entire app.

My Taskoff app is going well for the most part, not too bad for no training wheels. I also got stuck on presenting the time left for the task (Each task will be destroyed after 7 days if not completed).

I will also need to postpone my Blocmarks app which I planned to begin with my mentor. I got a lot to work on today
ruby testing

Friday, January 17, 2014

Current reflections on what I have accomplished

Last night I attended my 5th Ruby meetup in 3 months (I am counting Code Retreat even though it was not specifically Ruby). I am pretty happy on how far I progressed and excited to continue my journey towards developing actual apps.

First Meetup:

I attended my first meetup back in November after one month of Codecademy and Learnstreet and only accomplished. I had at that point started Codecademy and Learnstreet but didn't have much done as far as building anything. After that meeting I was given a $25 off coupon for OMR and completed it within two weeks. I also established relationships with a local developers who have proven to very valuable assets in information gathering and learning.

My advice is start with a Rails to get your feet wet and excited about web development. Then stop Rails and concentrate only on Ruby. Once confident in Ruby implemented Rails but without the magic... i.e "$ rails g." Manually build your controllers, models, etc...

Last Nigh'ts Meetup:

Last night I met Ruby Newbies who were in the same position I was in 3 months ago. It was nice to be able to encourage them and provide pointers on what/how I learned. I am in no means an expert but I guess I can say I have been there. I now have 2 completed and working apps and have started my third.

If you are not apart of a Meetup then look for one in your area. Even if you have to drive an hour. My first meetup was at Envylabs (Code School) in Orlando and on the first night I was offered a position (Not in Ruby but in sales for local O-town company). I kindly declined not wanting to move to Orlando, but the point is you can build a great network of people that will prove to be valuable in the future.


Thursday, January 16, 2014

Secret Rspec training

So I have moved on to working on pseudo client work.

I am considering applying to web developing apprenticeship and understand I need to learn best practices for ROR, aka "test driven development". My mentor recommended a rspec tutorial that segways perfectly into a client app. The tutorial is not posted in the Bloc curriculum, but my mentor sent me the guts of it. You can follow that process in my repo called Taskitoff (To Do app that auto deletes task after 7 days).

I am about just finished the setting up the app and will be attempting to create the Task Controllers with the said functionality. I am excited to see how it turns out, judging by the list I posted in my readme.md...thie shouldn't be too hard to complete.

*I will also be learning what this Capybara is all about.


Monday, January 13, 2014

Chugging along with Bloc: Passed the halfway point

I spent a total of 12 hours on Bloc this weekend and was able to get through 85% of the third section. To put that into perspective the 3rd section is week 5-6. I almost got all of that done in 2 days. This is the section where I can finally say I truly understand the MVC framework and can properly debug simple issues on my own, which I did all weekend.

The final checkpoints I have not completed include jquery and Ajax. Jquery I have some experience with, but Ajax I am very excited to learn and get through. I honestly have no idea what it does but have heard it thrown around.

Once I have completed those last checkpoints, I will be be going full force into Bloc's project work. The section gives you only the requirements needed for the app and together with my mentor we tackling this with pair programming. This will put me a great place to begin my capstone project in the next few weeks.

*Side note: I thinking about doing a Google Hangout with anyone who is also learning Ruby; If anyone is interested. It would be nice to find more people learning the same time as me.

I will probably post on twitter a hangout time this week.


Saturday, January 11, 2014

Signed up for my first Ruby Conf

I heard about the Ruby conference, Ancient Ruby a month ago in my local Ruby meetup. I purchased a ticket to the event this week to capture the early bird price and elected to attend a special Refactoring workshop on the Wednesday before. This will be a huge step for me since it will be a month after the conclusion of Bloc and the workshop requires 3 months of Ruby experience.

I had to do a lot of begging with the wife, but convinced her that we could roll it into a little mini-vacation in St-Augustine. I am blessed to have a wife that has been supportive since the beginning of my journey.

I hope to make lots of valuable connections and walk away with tons of valuable information. I look forward to attending.

Bloc Project: Had a little hiccup with setting up my Facebook Omniauth. Facebook changes their site so much that the curriculum create this year is now outdated. I am not a huge fan of FB but realize its a necessary evil these days.

*Let me know if you are attending Ancient Ruby and we can meetup. Early bird pricing ends 1/15/14
rubyconf