David E. H. Peterson

Earn A Gamification Badge with Merit (Part Two)

Posted on August 11, 2015

The Merit gem can get you a long way towards gamifiying you application. If you are just getting started with Merit, checkout part one of this series. I found three specific areas of the Merit gem/documentation lacking: Notifications (via Observers, using callbacks instead of the DSL and working with Badges. I’m going to dive in a bit deeper to each of these areas.

Read more

Slack Notifications from a Rails app

Posted on August 10, 2015

With the upcoming University of Minnesota Campus Codefest, I had a need for a “backroom” chat and live event feed to increase day of event engagement. I had played around with a prototype, reinventing the comment and recent activity feed wheel, when another developer had a simple suggestion… Why not just use Slack? I dove in and had something deployed a few hours later.

Read more

Latest profile pic via Facebook Graph

Posted on July 12, 2015

The personal picture I have on the header for the website is being pulled from Facebook. The Graph API provides an easy means to linking to your current profile picture, so you can always have a fresh image on your personal website. It is as simple as using the following markup:

Read more

Earn A Gamification Badge with Merit (Part One)

Posted on July 05, 2015

I first came across the Merit gem while I was working on Weather Clever, a Rails app. I wanted my user community to earn badges and gain points when they interacted with my application. Being a developer, I was sure I could roll my own solution but I decided to do some digging on what was already available. After a little research, found that Merit was the best options for this type of gamification in a Rails app.

Read more

An Introduction

Posted on July 03, 2015

I have commandeered my personal Github page in an attempt to start to document some random professional and personal thoughts. This is the first, which is an interesting place to be, perhaps only to myself. This plan is not likely to be wildly successful, but if it were, realize it came from a boring and humble beginning.

Read more


Thanks for visiting. Most people call me Dave or by my initials, DP. I am a husband, father, software engineer, bicyclist, outdoorsmen, sports fan, beer enthusiast, boat owner and Minnesotan.