Posts By: Chris Mar

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

The Art of Ruby Technical Interviews

This is an exciting time in the Ruby Community. We are welcoming many new developers from bootcamps and online code schools. We need more developers. We want to hire more developers. We want to hire you.

Read More

RubyConf 5k 2015

CustomInkTech sponsored the RubyConf 5k in San Antonio, Texas. It was a beautiful course along the famous River Walk. The results are posted below. Special thanks to Stafford for designing the race course. And running it multiple times to set up and clean up.

Read More

Inkovate 2015 Lightning Talks

Each year, our engineers gather together for an internal conference we call Inkovate. This year, we started with a series of lightning talks. Topics included everything from emerging technologies to useful tool tips. We recorded the talks to share with the Ruby community. Inkovate 2015 was a huge success. After the lightning talks, our engineers spent 2 days hacking on anything they fancied. The results exceeded our expectations. Unleashed creativity brings true inkovation. We’ll share more about the projects in...

Read More

Bundler Inline Gemfile Dependencies

If you haven't noticed, the Bundler team has been on a tear lately. It's hard to keep up with the pace of the 1.10.x releases. Along with improvements, they have been adding features. One that you might have missed is the new bundler/inline and it's gemfile method. Bundler Inline allows you declare your gem dependencies "inline" instead of a Gemfile. This is perfect for single file scripts. Everything can be contained in a single file, no Gemfile, no bundle install,...

Read More

Ruby Pretzel Colons

The Ruby Pretzel Colon is one of my favorite idioms. But it's salty goodness can be an acquired taste for new Ruby programmers. There seems to be an aversion to it's apparent magic. It is an unusual syntax. But it is easy to understand if you break it down into it's parts.

Read More

RubyConf5k 2014 in San Diego

We were proud to organize and sponsor the RubyConf5k in San Diego for a second time. 75 conference attendees woke up early after a late night of Ruby karaoke for a scenic run around the marina. The camaraderie of the Ruby community was highlighted by the support the runners showed for each other. Many running a 5k for the first time. Congratulations to all the participants. Here are the official results.

Read More

Better Hash Injection using each_with_object

A common Ruby pattern for injecting values from an Array into to a Hash is to use the Enumerable#inject method and pass the hash as the memo. If you had an enumeration of User objects, you might convert them to a hash with something like this: # build a hash of { name => email } users = User.all users.inject({}) do |memo, user| memo[user.name] = user.email memo # you must return the memo each time! end While this will reduce...

Read More

Migrating Session Flash from Rails 3.0.x to 3.2.x

When upgrading a high-traffic Rails application from 3.0.x to 3.2.x, existing sessions with Flash data will raise dump format error during the session unmarshalling step of the users next request. For an ostensibly minor patch (see semver), breaking user sessions is an unexpected surprise and a real bummer for your users. The Rails breaking change to FlashHash was to stop inheriting from Hash: # Rails 3.0 - See: http://git.io/X8WqIw class FlashHash < Hash # Rails 3.2 - See: http://git.io/jJ_Qhw class...

Read More

Build Better Teams with Dashing Dashboards

Around here, we love our dashboards. They are the modern water cooler gathering spot. Inkers gather around and watch the latest T-Shirt designs and track sales across the country. We built the first dashboard as a spare time experiment, but they quickly grew into an important part of our culture.

Read More

Welcome Anthony Corletti!

As a rising senior at Carnegie Mellon Unviersity, Anthony joins CustomInk Tech for the summer as a development intern in the Tako Stand!

Read More

Welcome Michael Peteuil!

Michael has joined CustomInk and is a member of the Wildcards Fireteam. He's been focusing on our new text generation service. And will be helping us with a big upgrade on our main Rails project.

Read More

Upper Lipsters 2013

Our hipster engineers donated their upper lips to change the face of men’s health. They formed the Upper Lipsters and raised $4,202 to support men's health awareness.

Read More

Welcome Jonathan Lehman!

Jonathan joins CustomInk from William & Mary where he studied Computer Science powered by bread ends and house dressing at the local Cheese Shop. He joins the Ironborn Industries fireteam.

Read More

Halloween Costume Winners!

What happens when you challenge a group of engineers to a costume contest? They go BIG. CustomInk has a spirit of creativity and inkers approach the art Halloween Costuming very seriously. All of our e-commerce fireteams joined together to recreate Toy Story.

Read More