Jacob Stoebel

Deplying a Rails Applicaiton to AWS with Docker Part 1

setting up dev enviornment followed this tutorial: https://docs.docker.com/compose/rails/ need to mount my host system to get at source code: needed to persist postgres data back to host system once container is finished. rake task to start up need to point at the docker-compose.yml and give correct build context I've been...

Mocks with Sinon.js

My nightlife app app makes use of a few external services in production. This presents some tricky problems when we are trying to test the code. Do I really want my test suite to have to hit the Yelp api during tests? Common advice is that we want to create...

Using react leaflet

For my new nightlife app I am using leaflet.js to handle marking search results on a map. Leaflet was an immediate win for this project because so much comes, basically for free right out of the box: you get beautiful looking maps, markers, and pop ups with hardly anything to...

Honesty, Kindness and Inspiration: Pick Three

Folks, we need to talk about a tweet: Code review can be:• honest• nicePick one...— I Am Devloper (@iamdevloper) May 16, 2017 As far as I can tell, this seems to be the attitude among many developers: I can either 1) give you feedback that is touchy feely and makes...

Upgrading the EDS Dashobard to Rails 5

Rails has dropped active support for Rails 4.2 which means its time to bite the bullet and upgrade the EDS Dashboard from 4.2 to 5. Here's a summary of some of the sticky points in that process: Dependency tidying As expected, one top level dependency (sass-rails) was on old version...

A No Frills Jump Into Fakes, Mocks and Stubs

As a semi self taught programmer, I've always felt an imposter syndrome flare up when discussion of mocks, stubs, fakes, etc comes up. I knew generally that they were used for testing things that should not or can not be used in a testing environment, but I also knew that...