None of us here at Roobykon became involved in software engineering because we wanted a simple, predictable life. And that’s lucky – because in the field of Ruby and Rails development, you really have to keep your eye on the ball if you want to be sure of creating the very best solutions possible. With that in mind, here’s a round-up of what’s new in our world...
The potential problems of adding new code to Rails controllers are well known: the actions of those controllers can become too large, or even block the rendering of some actions if it fails. Here,Nikola Duza of Semaphore outlines a neat solution.
In the US – and in many other places around the world – Ruby is usually thought of in the context of Rails and web apps. But in Japan, Ruby was wildly popular long before Rails came along – and that’s reflected in the different way in which it’s used there today.
Looking for a quicker way to add search forms to your RoR apps? Maybe you want to simplify your debugging process? Or perhaps you need to generate a sitemap with the minimum of bother? These 19 sparkling little gems can help you do all this and more!
Would you like to have a deployment solution that functions along the lines of Heroku, but without tying yourself to that particular platform? This tutorial explains how to use Docker to create a simple deployment automation tool for your software.
These days, webhooks are used by countless service providers, from Stripe and MailChimp to SendGrid and SuperFeedr. But how best to consume webhook calls in Rails, as well as to ensure that your callback endpoints are secure?
The larger a Rails project becomes, the greater the risk that previously speedy lookups and updates will become sluggish, or even grind to a halt. Adding missing indexes to your database is a cheap and easy solution – but how to do this while avoiding downtime?
RSpec matchers are a great way to pinpoint your expectations with speed and precision – but they do tend to become a little overlong. Here, Ian Ker-Seymer shows us how to dodge this obstacle with a simple way to generate custom matchers.
Using React is a great way to speed up development of web pages and enable the re-use of components – but this can come at the expense of SEO-friendliness. How can we continue to benefit from React, while staying on good terms with Google?
The fundamental concept of a state machine is extremely simple – so why are they so often underused in web development? Maybe, their very simplicity forces us to confront deep questions that can be a little scary. This article will help cure that fear.
And right here Dalibor Nasevic shares his technique for debugging Rails views in production. It's quite easy to use this approach with small and isolated classes and methods that can be initialized and called without much setup, as well as with the standard request-response cycle.