Code like no one is watching

The other night I built a terrible Flappy Bird clone that involved you moving a block in between other blocks and trying to get circles. The code is not beautiful. The idea is not great. The implimentation is not perfect. But the truth of the matter is I had the…

Read this article

ActsAsTaggableOn with Active Model Serializers

I came across this answer on StackOverflow which showed a beautiful solution for embedding tags with Active Model Serializers. Say you have a blog and a blog has many tags. Your serializer might look something like: class BlogSerializer < ActiveModel::Serializer embed :ids, include: true attributes :id, :name has_many…

Read this article

Ember data's extractArray and extractSingle

Recently I've been playing around with using Node as my api for Ember as opposed to Rails. Ember data plays extremely nice with Active Model Serializers so I've never really had to worry about cleaning up the server's response. Say you have a poll and a poll has many choices…

Read this article

Being a mentor

We've just finished the winter cohort of Launch Academy and I've just finished with my first group of 10 mentees. It's been a humbling experience that has not only caused me to grow as a developer and an educator but mainly as a person. I was also lucky enough to…

Read this article

Hi!

I'm always telling my mentee's to blog and put themselves out there so I felt it was probably time to start practicing what I preach. So hi. This is my blog and I'm Sam. I live in Boston, have a beautiful wife and child and aspire to one day work…

Read this article