Skip to content

Popular Articles on 2015 by Our Team

Our expert team of designers and developers love what they do and enjoy sharing their knowledge with the world.

Latest Articles by Our Team

Exceptional error handling in Ruby

By Yuji Yokoo,

2015 development learning rails

I recently come across some surprising code involving exceptions which prompted me to look a bit deeper into exceptions in Ruby. In this post, I would like to share some of what I found.

This is where it all started. I had a script that did something like the following (it was not quite this simple, but it shows the important parts):

Rescuing an exploding Rails App with

By Mikel Lindsaar,

2015 Devops as a Service operations rails

Recently, a new client approached us with a performance problem on their existing Ruby on Rails application; they were experiencing massive growth with over 50,000 new users per day signing up, and their app was receiving over 400 requests per second (and growing).

The rapidly increasing load was leading to big problems, with their existing Rails application experiencing frequent outages and causing sleepless nights for their team. They asked reinteractive to investigate and find out how we could get the app stable as fast as possible.

Keeping your classes small and maintainable with Service Objects

By Sameera Gayan,

2015 development learning rails

If you are familiar with Rails, you know that it has a predefined directory structure. Rails was one of the early adaptors of the MVC (Model, View, Controller) pattern. In fact that is one of the key strengths of the framework; it is easy to learn since everything has its own place. This is all well and good if your Rails app is relatively a small one - but when your app starts growing with features and functionality, soon you will find some code snippets that don’t seem to fit into the standard Rails directory structure. This is when these methods tend to get pushed to the ActiveRecord models. However, not all of these methods directly relate to a model; often these methods contain some validations required by the business/client.

In such scenarios, implementing the logic via service objects or services would be a good idea. Simply put, a “service object” is a Ruby class that contains some of the application's business logic without pushing it to the ActiveRecord layer. Often, a Service is a PORO (Plain Old Ruby Object).

We Hire Only the Best

reinteractive is Australia’s largest dedicated Ruby on Rails development company. We don’t cut corners and we know what we are doing.

We are an organisation made up of amazing individuals and we take pride in our team. We are 100% remote work enabling us to choose the best talent no matter which part of the country they live in. reinteractive is dedicated to making it a great place for any developer to work.

reinteractive Services

We build stable, well-tested software, built with Ruby on Rails and Javascript. reinteractive provides a complete solution from project scoping, to UX, design, web and mobile development, through to hosting and maintenance. All driven by our seamless, agile project management processes.

We are experts at large, complex and customised solutions. Bring us your ideas, wish list, integration problem or technical need and we will solve it.

AppWorkshop - Consultation & Project Scoping

We work hard to find the right digital solution for you. Through our AppWorkshop we work with you to identify opportunities and engage in expert planning for business-critical applications. The aim is to get your application delivered and operating as fast as possible, with the viewpoint of incrementally adding features as the site matures and grows.

Learn more about AppWorkshop - Consultation & Project Scoping

Get the “reinteractive Review” Monthly Email