Coding By The Sea

If you can't blog about it to a 6 year old, do you really know it?

CRUD and Redux: Updating

I am in the middle of designing a Wedding Itinerary application, which, for the most part, boils down to CRUD operations which allow a user to keep track of a wedding day itinerary. The Create, Read, and Delete portions of this task were pretty straight forward, but the Update action initially threw me for a loop. Let’s talk through it.


Wireframing, or sometimes referred to as a page schematic, is a visual representation of the framework of your website. This step can easily be overlooked if you tend to jump right in, but taking a step back to visualize the roadmap of your website can be immensely beneficial.

Generating an Email via Rails

I was recently asked to build out a piece of functionality that I had never done before - sending an automated email after filling out a form. To my surprise (but not really), Rails had this functionality already built in. In this blog post, we’re going to walk through setting up a basic mailer.

Test Driven Development

Test Driven Development, or “TDD”, is a software development process that relies on a ‘development cycle’ in order to implement a new software feature. This development cycle relies on 3 main phases, which can be broken down as follows:

Rails and Prawn

I’m currently developing an expense upload portal, which in sum, allows a user to upload a receipt and receive an automated email of an expense spreadsheet in return. There are several major tasks required to make this flow work: uploading a document, extracting the pertinent data from the document, creating a new PDF, and sending this PDF via an automated email. I’d like to focus on one aspect that was surprisingly simple thanks to a Ruby Gem called “Prawn”, and that is PDF generation. Let’s start from the beginning: