Ruby and Rails Glossary
Important terms and definitions explained simply
Subscribe to the glossary with RSS1
-
The 15 minute blog is a famous video recorded in a software conference in Brazil in 2005 where DHH, Ruby on Rails creator, showed the benefits of the framework by building a blog in 15 minutes.
A
-
Rails associations establish connections between Active Record models. With them, we can define how our models interact and save time an duplication while allowing better model interactions.
C
-
Controllers intermediate between models and views by handling users requests and determining the appropriate response to them.
-
A term coined by DHH, Rails framework creator, that states a great preference to use as many convened upon decisions over the extensive use of configuration and customization before hand.
-
A Rails gem that integrates modern CSS bundling tools like Tailwind CSS, Bootstrap, and Dart Sass with Rails applications through Node.js-based processors, replacing traditional sass-rails workflows.
G
-
Creates a new Rails application configured with Bun, an all-in-one JavaScript runtime and bundler that provides extremely fast compilation without requiring Node.js, offering a simplified development environment.
-
Creates a new Rails application configured with esbuild, an extremely fast JavaScript bundler written in Go that provides TypeScript and JSX support with minimal configuration.
-
Creates a new Rails application configured with Rollup, a module bundler focused on ES modules and tree-shaking that produces optimized, smaller bundles ideal for libraries and performance-critical applications.
-
Creates a new Rails application configured with webpack, the most comprehensive JavaScript bundler offering extensive plugin ecosystem, code splitting, and advanced optimization features for complex applications.
H
-
In Rails, helpers are methods that are accessible to views, defined in the `helpers` directory and global by nature.
I
-
The default JavaScript management solution for Rails 7+ applications that uses ES6 import maps to manage dependencies without bundling, enabling modern JavaScript development without build steps.
J
-
A Rails gem that provides installers and rake tasks for popular JavaScript bundlers like esbuild, webpack, and rollup, enabling modern JavaScript tooling while maintaining Rails asset pipeline integration.
M
-
The fundamental block of the MVC pattern. Let's learn what they are and best practices
O
-
Let's learn about “omakase” and what makes Rails a convenient alternative when you want the expert's decision to maximize your productivity
P
-
A modern, streamlined asset pipeline for Rails that replaces Sprockets as the default in Rails 8, focusing on essential asset management while delegating complex processing to specialized external tools.
T
-
The Rails Doctrine is a set of conventions and design decisions that come out of the box in every Rails application and can vastly improve the experience of developing Rails apps for the majority of cases.
V
-
Views represent the presentation layer of MVC, rendering data for users through template files or serializers. They map to controller actions and are organized in the app/views directory, focusing exclusively on how information is displayed.
-
A Ruby gem that integrates Vite.js build tool with Rails applications, providing instant Hot Module Replacement, lightning-fast development server, and seamless integration with modern frontend frameworks.
