Ruby on Rails

Showing 1-9 of 26 results
EngineeringIcon ChevronTechnology

Linters Implemented by Ruby Libraries

By Robert Pankowecki

When you hear the word “linter,” you probably think about particular widely used tools. But there’s a different kind of linters. In this article, Toptal Back-end Architect Robert Pankowecki introduces you to linters implemented by Ruby libraries and details their capabilities.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

Don’t Build, Integrate: A Guide to CRM Integration

By Leif Gensert

Customer Relationship Management systems provide businesses with more clarity and information about customer behavior, helping boost sales, retain existing customers, and attract new ones. In this article, Toptal Software Developer Leif Gensert outlines the basic challenges of CRM integration and explains what you can do to make the process as efficient and frictionless as possible.

14 minute readContinue Reading
EngineeringIcon ChevronBack-end

Timestamp Truncation: A Ruby on Rails ActiveRecord Tale

By Maciek Rząsa

Tests should keep apps from being flaky. But tests themselves can become flaky—even the most straightforward ones. Here's how we dove into a problematic test on a PostgreSQL-backed Rails app, and what we uncovered.

< 5 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Integrating Stripe and PayPal Payment Methods in Ruby on Rails

By Henrique Reinaldo Sarmento

Secure payment processing is a key prerequisite for any eCommerce operation. If it fails, the consequences can be catastrophic for any company, big or small. In this article, Toptal Ruby on Rails Developer Henrique Reinaldo Sarmento outlines how you can create a Ruby on Rails eCommerce app, leveraging PayPal and Stripe for reliable and secure payments.

25+ minute readContinue Reading
EngineeringIcon ChevronTechnology

Rails 6 Features: What’s New and Why It Matters

By Avant Mittal

Rails 6 is finally here, featuring major improvements and clever new features that should make development easier and faster than ever. In this article, Toptal Ruby on Rails Developer Avant Mittal dives into the Rails 6 changelog to introduce you to these new features and explain how you will be using them in your next Rails project.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Rails Service Objects: A Comprehensive Guide

By Amin Shah Gilani

Rails ships with everything you need to prototype your application quickly, but when your codebase starts growing, you'll run into scenarios where the conventional Fat Model, Skinny Controller mantra breaks. When your business logic can't fit in either a model or a controller, that's when service objects come in and let us separate every business action into its own Ruby object.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Field-level Rails Cache Invalidation: A DSL Solution

By Botond Orban

Fragment caching in Rails provides an easy yet a powerful way of improving your application's performance. However, some real-world scenarios do not work quite well with how the Rails cache behaves by default. In this article, Toptal Ruby on Rails Developer Orban Botond shows how you can implement a small DSL to optimize how the cache for related entities is invalidated to improve template rendering performance.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Meet Phoenix: A Rails-like Framework for Modern Web Apps on Elixir

By Eduardo Bautista

In back-end software development, increased productivity often comes at the cost of performance. In this article, Toptal Software Engineer Eduardo Bautista shows us how the Phoenix framework builds on the familiar concepts from the Rails world, and makes it even easier to build robust concurrent applications without compromising performance.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Build Sleek Rails Components With Plain Old Ruby Objects

By Eqbal Quran

Your website is gaining traction, and you are growing rapidly. Ruby/Rails is your programming language of choice. Your team is bigger and you’ve given up on “fat models, skinny controllers” as a design style for your Rails apps. However, you still don’t want to abandon using Rails? No problem. In this article, Toptal Software Engineer Eqbal Quran explains how you can decouple and isolate your Rails components using nothing Plain Old Ruby Objects. Ruby objects and abstractions can decouple concerns, simplify testing, and help you produce clean, maintainable code.

18 minute readContinue Reading

Join the Toptal® community.