Jacob Stoebel

setting up a wordpress/rails vps with ansible

For my latest project with Mountain Tech Media I decided to take some extra time use Ansible to set up my VPS. I looked at Ansible as well as Chef, and while I don't pretend to be an expert on either, I found Ansible to be a bit more friendly...

Cleanse Your Batavia Test Output Using This One Weird Trick

Batavia has a great framework for running tests. Essentially you write Python that results in some kind of output. The test runs that code through both C Python and Batavia, then you can compare those outputs. In most cases, we want to know that the outputs match. The author of...

Automate Gem Security Warnings With Bundle Audit

The EDS Dashboard is getting bigger all the time, and one concern we've had is staying on top of any security holes in any of the gems we use. Rails is a huge community of course, and when a security patched is released, we can be sure we'll find out...

Seriously, Use Factories and Not Fixtures: A Survivor's Story

The Internet is abound with opinions on using fixtures or Factories in Rails. Being a relatively new developer, I'm usually careful about having strong opinions, but now that I've lived a one year struggle with fixtures and emerged on other side 99% fixture free in my work app, I am...

automating modifying dbi at each deploy

The EDS Dashboard needs to connect to Berea College's enterprise database (Banner hosted using Oracle). To do this we use ruby-oci8 which uses dbi as a dependency. dbi is an old library and does not technically support Ruby 2.x. Fortunately with a change of a single line the library works...

string formatting in Batavia

For the last few weeks I have attempted to crack Python's old style string formatting. A rudimentary version already exists in Batavia, but numerous features and corner cases are not yet implemented. I wanted to try to round things out a little bit more. plan 1: parse using a regex...