Glossary

This Ruby on Rails glossary breaks down technical Rails terminology into clear, easy-to-understand definitions. It’s built to help beginners get up to speed quickly and give experienced developers a quick refresher when needed.

pricebook
tunecore
toyota
GE
lionsgate
gaea
apigee

A

Active Record

ActiveRecord is the Object-Relational Mapping (ORM) framework in Ruby on Rails that connects your Ruby objects to the database. It allows you to interact with database tables using Ruby code instead of writing raw SQL.

Action Cable

Action Cable is the WebSocket framework in Ruby on Rails that enables real-time features such as live chat, notifications, and activity updates. It seamlessly integrates WebSockets with the rest of the Rails application.

Active Job

Active Job is the background job framework in Ruby on Rails that allows you to run tasks asynchronously, such as sending emails, processing files, or performing long-running operations, without blocking the main application flow.

Asset Pipeline

Asset Pipeline is a framework in Rails that manages, compresses, and serves assets like JavaScript, CSS, and images efficiently.

Action Mailer

Action Mailer is a built-in framework in Ruby on Rails used to send emails directly from applications.

Action View

Action View is the presentation layer in Ruby on Rails that renders data into HTML or other formats for users. It uses templates, layouts, partials, and helpers to keep views organized and reusable.

B

Background Jobs

Background Jobs in Rails allow tasks to run asynchronously, outside the main request cycle, improving performance and user experience.

Bundler

Bundler is a dependency management tool in Ruby and Ruby on Rails that ensures all required gems (libraries) are installed in the correct versions for your application.

C

Concerns

Concerns in Ruby on Rails are modules that allow you to extract reusable code from models or controllers. They help keep your application organized by separating shared logic into clean, maintainable components.

Convention over Configuration

Convention over Configuration is a core Ruby on Rails principle that reduces the need for manual setup by following predefined conventions. It allows developers to focus on building features instead of spending time on configuration details.

D

Database Migration

Database migration in Ruby on Rails is a feature that allows developers to modify and manage the database schema over time in a consistent and version-controlled way.

Devise

Devise is a flexible authentication solution for Ruby on Rails applications. It provides ready-made modules to handle user registration, login, password recovery, sessions, and more with minimal setup.

G

Generators

Generators are a Rails feature that automatically creates boilerplate code for common components like models, controllers, views, migrations, and tests.

Gems

A gem in Ruby is a packaged library or piece of code that adds functionality to your application. Gems help developers reuse existing solutions instead of building everything from scratch.

H

Hotwire

Hotwire is a modern Rails framework for building fast, interactive user interfaces without heavy JavaScript, using server-rendered HTML and real-time updates.

I

I18n (Internationalization)

I18n in Rails enables applications to support multiple languages and regions by centralizing translations and handling locale-specific content and formatting.

M

MVC (Model–View–Controller)

MVC is a design pattern in Ruby on Rails that separates an application into three layers: data (Model), user interface (View), and request handling (Controller).

Monkey Patching

Monkey patching is a technique in Ruby that allows developers to modify or extend existing classes and methods at runtime, even those defined by the language or external libraries.

Models

Models in Ruby on Rails represent the application’s data and business logic. They interact with the database and handle rules, validations, and relationships between data.

Multi-tenant Application

A multi-tenant application in Ruby on Rails serves multiple customers (tenants) from a single codebase while keeping each tenant’s data isolated and secure.

Middleware

Middleware in Ruby on Rails consists of components that sit between the web server and the Rails application, processing HTTP requests and responses before they reach controllers or return to the client.

Minitest

Minitest is the default testing framework bundled with Ruby on Rails. It provides a simple, fast, and lightweight way to write unit, integration, and system tests using Ruby’s built-in testing tools.

Monolith

A monolith is an application architecture where all features and components are built, run, and deployed together within a single Ruby on Rails codebase.