At some point, you may need to create custom forms in Active Admin for admin users to create records. Active Admin uses Formtastic, a FormBuilder DSL, to output these forms. In this post, I’m going to show you some of the things you can do with them.
Great apps aren’t stuck in the mud. They change with the times. They float like oak leaves along a wide river of user expectations, business requirements, fashion trends, and platform changes. To keep floating, leaves 🍂 apps need a watchful team of developers to walk the muddy banks nudging them back toward fast water whenever […]
If you’ve used VMware Fusion to run Windows on your Mac for any length of time, this is probably a familiar sight: Fusion only gives your Windows virtual machine 60 gigabytes of space, which may seem like plenty at first—but it rapidly fills up. Thankfully, there’s a relatively easy way to expand your space, as […]
There are compelling reasons to define your build definitions in code. While it may take some extra effort to make the switch, here are four great reasons to do so.
I recently worked on a side project that exposed me to some of the more advanced aspects of Google Sheets. Eventually, I stumbled my way into Google Sheet queries, which solved my problem by allowing me to link data on multiple sheets. This post is meant to introduce you to some of the benefits of […]
A while ago, my current project added support for zooming and panning SVG images. We were able to accomplish this pretty quickly by using the svg-pan-zoom library, which allowed us to easily add UI for pan and zoom controls on top of SVGs. However, after seeing how the control icons appeared over some of our […]
In my last post, I showed how to write a higher-order function that could wrap an existing function without losing the original function’s types. Today, I’m going to show how you can use that same technique to wrap an existing function for a different result–to execute it in a background process using the workerpool npm […]
It’s been almost a year since my posts on Excel workbook snapshot testing and PDF snapshot testing. Both of these have proven to be very valuable in our automated test suite and have allowed us to easily catch regressions, manually inspect the differences, and then update as needed. Another task on my current project has […]
I’ve recently been using Cavy to handle end-to-end testing for a React Native app. In this post, I’ll go over some first impressions and a few patterns I’ve found to be helpful. Intro to Cavy Cavy is an end-to-end testing framework that integrates with React Native using refs. The test suite runs as an app, […]
I recently started on a large project that utilizes the powerful CMock mocking library in its testing. I tried to find some simple tutorials to get a better understanding of this library. But though there’s a lot of helpful documentation on CMock, I found little advice on getting to know it in general.