As the Kapost development team has grown, we found that we’ve reached a threshold where it has become necessary to break our application apart into smaller, more manageable pieces. Take a look at how we drove communication between smaller applications with a custom Ruby gem that leveraged Amazon SNS and SQS.
A feature for an internal Ruby project here at Quick Left necessitated parsing the domain from a URL. This seems like a problem for which there must already exist a solution, but it surprisingly turns out that there is no available solution for this seemingly simple task.
Sometimes when building client projects, it quickly becomes clear when some code is going to be used and reused. Such is the case with a loader implementation for Gociety, a mobile app we recently worked on that uses React. When that happens, we like to give back — and what better way than to open-source some code for others to use?
Building your first Ruby gem may seem like a daunting task, but it’s actually not so bad. It’s quite rewarding to not only release a gem, but to see its download count climb as others put your hard work to good use, and even still as others offer to contribute new features and bug fixes to your very own gem. And thanks to RubyGems.org and Bundler, the process of creating, releasing, and implementing gems couldn’t be easier.
About two weeks ago, I released a new Ruby gem into the wild named ruby-measurement. (Unfortunately, measurement was already taken.) It serves as a means of parsing human-readable text into a quantity and unit, which can then be used for converting among units and other mathematical operations. Let’s take a simple string like “4 1/2[…]
This is just a short post since I haven’t updated my blog in quite some time. I recently spent some time trying to find a Ruby gem that will search/lookup products on Amazon. My searches only yielded the Peddler and Vacuum gems, both of which I found difficult to use. This prompted me to build[…]
This past week, I released my first ever Ruby gem: multiple_table_inheritance. Multiple Table Inheritance is an ActiveRecord plugin designed for Rails 3.0+ designed to make table-level inheritance easier than ever. Imagine you have an application that needs to maintain a list of employees. You’ll probably start out with a few columns including first name, last[…]
On Black Book Singles, one of the steps in the signup process is to provide the city and country in which you live. The country part is easy to get right since it’s a simple drop-down list where the user can be sure that the value they’ve selected is correct. The problem most users are[…]
One of my most recent tasks at Food on the Table was to implement speech recognition for our meal planning app’s grocery list on Android. Now that the first version of the feature is released, the fully featured product allows users to quickly add items just by speaking into their phone. Not only that, but[…]