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...
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...
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...
With Rails 3.1 Engines it is possible for the namespace to creep into the URL generation for your application layouts. This can occur if you are not using named routes, but instead are specifying :controller in a options Hash: This issue will manifest itself onto...
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...
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...
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.