Rails Agency Blog!
Rails Agency's Blog about Technology, Ruby on Rails, and Growing Digital Products! Read, Learn, and Join the Conversation.
How to Configure Selenium for Full Stack Integration Testing with Ruby on Rails

Knowing how to use testing frameworks is one of the most important skills any developer must learn. In particular with the Ruby programming language, testing is even more important because a compiler will not catch syntax errors or little slip ups! Such is life when using interpreted languages. Despite testing’s importance being obvious, it is surprising how many Ruby on Rails apps have deficient test coverage or no code coverage at all! Why is this?

Continue Reading...

How to Create a Happy Work Environment for Your Software Team

You have probably heard at least one I-hate-Monday joke. What if…you had the power to make your office a place where people are happy to come to work?

Continue Reading...

Why is Ruby on Rails Powerful for Your Small Business?

Did you know that most of your favorite websites use the web application Ruby on Rails? Among them are Twitter, Airbnb, Bloomberg, GitHub, GoodReads, Groupon, Jobster, Sound Cloud, and Spree Commerce. Are you planning a website or online component for your small business? Read on for the reasons why these companies prefer Ruby on Rails.

Continue Reading...

Stripe Subscriptions with Koudoku

Recently we were working on a project in which we needed a subscription based payment system to manage different user plans. This was an MVP so we did not necessarily want to roll our own subscription system if we didnt have to. Enter Koudoku, a Rails based subscription engine that integrates into Stripe out of the box and uses Stripe Event to hook into Stripe’s beatifully simple subscription plan system.

Continue Reading...

Before Outsourcing Your Software Development, Consider This...

India, China, and the Philippines are part of Asia Pacific – a vast network of countries and islands located near the Western Pacific Ocean. Before making the decision to send work there, take into consideration the enormous cultural, language, and historic differences, as well as the dissimilarities in business attitudes of people from these regions.

Continue Reading...

What to Expect from Your Software Development Company

In a world driven by technology, building a mobile app or online store may boost your business. What do you do if you don’t have an internal IT team?

Continue Reading...

11 Useful Tips on How to Motivate a Development Team

You’ve heard the saying ̶ treat others the way you want them to treat you. It’s applicable in so many situations, even in the exciting world of technology.

Continue Reading...

How To Recognize 5 Toxic Software Developer Personalities

Imagine a beautiful, sunny morning. You have a nice life that is rich in family harmony and professional success.

Continue Reading...

Modeling Postgres Common Table Expressions and Window Functions with Rails and ActiveRecord

Over the course of my experience as a developer, I’ve often found that when things get complex - they get really complex. Often times the key to a solution isn’t finding the one thing that solves a problem, but rather the combination of different functionalities that ends up being the solution that works the best. In the case of one of our pro-bono projects, I had a particularly difficult problem that I needed to solve - and the solution that I arrived at involved a combination of Postgres’ Common Table Expressions, Window Functions, SearchLight, and Rails Query Scopes. What on earth was I trying to accomplish that could possibly elicit this witches brew of open source technologies? Simple: I needed to take user-supplied input, sanitize it, geocode it, then ensure that the result set did not contain duplicates. Each of the tools listed above contributed in some fashion to the working solution!

Continue Reading...

Simple Polymorphic Selects with Global IDs

In an app I was working on recently, there was a requirement for a document (these were agreements of one type or another) to have many parties. In turn each of these parties needed to have an owner—and here’s where things began to get a little more complex—the party owners could be one of several model types. Ugh. Building a working select box for this functionality was going to be a mess. Or that’s what I thought initially. That’s when I happened across a few blogs about using Global IDs in Ruby on Rails. The Global IDs module became an official part of Ruby on Rails with the release of version 4.2. This module only includes a few methods and the one I ended up using most often is #to_global_id.

Continue Reading...



Hire Us!

Have questions? Ready to get started? Please contact us for a free project consultation and quote.