Talk RSpec To Me

All the RSpec Style Well written tests can drive the development of software, serve as a quality control mechanism, and document functionality for other developers working on the same codebase. Style matters when it comes to writing tests specifically because tests are documentation of how your methods and classes are... [Read More]

How to Summarize SQL Records by Day

Some readers of this blog have been asking about useful SQL queries that have come up in my current job. So I wanted to share a query that is not super complicated, but very useful.¬† The use case for this query is when you are looking to view a summary... [Read More]

So #update_all Is A Thing

ActiveRecord's update_all Method Usecase Imagine we need to make a similar change to a large group of database records. For example, let's say I have an application with a Students model. Let's also imagine that their is a status attribute on our Students model that can be incoming, active, disenrolled,... [Read More]

Rails Engine Part II

Me = Mock and Stub Freak No one at work has ever accused me of being underzealous in my use of mocks and stubs in my testing. Mocks are fake objects and stubs are fake behaviors employed in software tests. There are three reasons for my bullishness on using fake... [Read More]

Turing School: Six Month Retrospective

Some Additional Perspective, Same Conclusion As many of the readers of this blog already know, I finished re-tooling my career at the Turing School of Software & Design¬†this past January. Now at roughly six months in the world as a Turing Alum and two months as an engineer at Ibotta,... [Read More]