November 25, 2016

Enum vs. Active Record any?

Today at work I saw a really weird exception in prod. The code is in a Rails project using ActiveRecord and was something like this: And the dreaded exception that makes every rubyist want to cry: If there are any? of my things how can the first one be nil? When I saw this I had to remind myself of the best debugging advice I ever got: There has to be a reason. Computers are just machines, they just follow instructions. If the code after if was executed, the condition before it had to be true. […2 min read]

post#databases#rails#ruby#web-development

September 5, 2016

What your rails app does behind the scenes

Ever wondered what your rails app is really doing? When I first started learning Rails it seemed like magic. I finally got started building some rails apps and couldn't believe I could get one up and running in 5 minutes. What is this magic? Needless to say there's a lot going on behind the scenes. I was living in blissful ignorance, building away and not worrying about how it all worked until it didn't anymore. […6 min read]

post#mvc#rails#web-development

August 21, 2016

Benefits of group learning

Another week flew by and I'm still working on getting a pacman game up and running. There's a great community of developers in Montreal, though, and they often host coding events, like the weekly coffee and code sessions I go to with Les Pitonneux. Thanks to lots of wonderful, patient people I learn a lot about web development and get closer every session to building amazing products that people will love to use. Working with other people is essential if you're trying to learn how to code. […4 min read]

post#education#group-learning#learning#meetups#mentoring

August 16, 2016

Learning how to code

Around this time last summer I started learning how to code. I had a wordpress website and wanted to customize it, then I got sucked into a rabbit hole and haven't really surfaced since. I realized I would only be able to make it so far coding in a box on a website with tutorials, as great as they are, and in the fall I decided to go all in. Now I'm starting my second gig as a "real" web developer and learning as fast as I can. […4 min read]

post#education#learning