Disabling Image Loading with Rails System Tests

Disabling external assets like JavaScript or images can improve the performance of your Rails System Tests. Capybara is the acceptance test framework abstracted by Rails System Tests. It will load all assets on a page before proceeding to the next step in your test. Since, we are only testing interactions with Rails System Tests, we can reduce the page load time by ignoring images, external scripts and fonts. Rails 5.1 introduced SystemTestCase. It is a nice abstraction around Capybara providing...

Read More

Making Static Components Stateful With CSS/Sass

Searching for some red ladies hoodies to wear at your team's event this Fall? How about a purple heathered t-shirt for your group's outing? Last month we launched an exciting change to our product catalog – the ability to filter styles whose color(s) match a simplified name or filter. Finding your customizable apparel in the right color is now easier than ever. And thanks to our usage of SUIT-based CSS components, along with the ability to leverage existing Rails' fragment...

Read More

A Spooky Ink-o-ween!

This year we had a great showing of costumes in the office for Halloween

Read More

Rebuilding the Plane We're Flying In

Three years ago, we were part way through the process of moving all of our servers and infrastructure from a single colocation facility to a multiple availability zone Amazon virtual private cloud. Things were going well and the business was booming, but we had a major problem. The old Storage Area Network (disk drive system shared by many of our servers) was going to run out of capacity in a matter of months.

Read More

How to add badges to iterm2

iTerm2 - the popular terminal emulator for OSX has added some really neat features. One of those is badges. From the documentation: A badge is a large text label that appears in the top right of a terminal session to provide dynamic status, such as the current host name or git branch. I had some trouble figuring out how to build a badge so I wanted to share a quick walk-through. Thanks to Chris Mar for walking me through the...

Read More