Index Your Foreign Keys

Index Your Foreign Keys

We add indexes to our database in order to speed up read operations. Basically, an index is a sorted copy of a particular set of columns the database uses to quickly look up the attributes of another table, most commonly, foreign keys of relations. There are several...
ActiveRecord Associations and You

ActiveRecord Associations and You

I love abstraction. It’s great to compartmentalize complexity and keep your application modular. SQL is not that. Relying on SQL strings in your code ties your implementation directly to the type, structure, and even the version of your database. ActiveRecord...

Testing SMS Interactions in Ruby on Rails

In my last blog post, I discussed how to incorporate Twilio into your Ruby on Rails application. However, I didn’t discuss how to automate testing these interactions. This time I’ll show you how to do just that by using the new Ruby Gem sms-spec, so that...

A Rails testing environment with Cucumber, RSpec, and autotest

Automated testing is an important part of what we do at Mutually Human Software. Automated tests can reduce bugs and regressions, give us confidence that we can safely refactor, reduce manual testing, and can also result in cleaner, more maintainable software. At...

Somebody Set Us Up the BOM

Last week I was working on localizations for a Ruby on Rails project. Rails provides a simple way to add internationalization to your project. But what should have been as simple as adding a couple of locale files to the project turned into a wild goose chase fraught...
technology logo

Get a Free Consultation

Your Free Consultation will be packed full of discussions, brainstorming, and hopefully, excitement. The meeting is designed to help uncover your challenges, define your needs, and outline possible solutions so you can make decisions that will lead to the business outcomes you desire.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.