LibraryActive

Active Job Basics

Active Job Basics: Ruby on Rails Guides (v8.1.3.1) These are the new guides for Rails 8.1 based on v8.1.3.1 .

Open source page

Field note

What it does

Getting Started with Rails This guide covers getting up and running with Ruby on Rails. After reading this guide, you will know: How to install Rails, create a new Rails application, and connect your application to a database. The general layout of a Rails application. The basic principles of MVC (Model, View, Controller) and RESTful design. How to quickly generate the starting pieces of a Rails application. How to deploy your app to production using Kamal. Skip to article body Chapters Introduction Rails Philosophy Creating a New Rails App Prerequisites Creating Your First Rails App Directory Structure Model-View-Controller Basics Hello, Rails! Autoloading in Development Creating a Database Model Database Migrations Running Migrations Rails Console Active Record Model Basics Creating Records Querying Records Filtering & Ordering Records Finding Records Updating Records Deleting Records Validations A Request's Journey Through Rails Routes Parts of a URL HTTP Methods and Their Purpose Rails Routes Routes Command Controllers & Actions Making Requests Instance Variables CRUD Actions Showing Individual Products Creating Products Editing Products Deleting Products Adding Authentication Adding Log Out Allowing Unauthenticated Access Showing Links for Authenticated Users Only Caching Products Rich Text Fields with Action Text File Uploads with Active Storage Internationalization (I18n) Action Mailer and Email Notifications Basic Inventory Tracking Adding Subscribers to Products In Stock Email Notifications Extracting a Concern Unsubscribe Links Adding CSS & JavaScript Propshaft Import Maps Hotwire Testing Fixtures Testing Emails Consistently Formatted Code with RuboCop Security Continuous Integration with GitHub Actions Deploying to Production Adding a User to Production Background Jobs using Solid Queue What's Next?

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

1. Introduction

2. Rails Philosophy

3.1. Prerequisites

3.2. Creating Your First Rails App

3.3. Directory Structure

3.4. Model-View-Controller Basics

3. Creating a New Rails App

4.1. Autoloading in Development

4. Hello, Rails!

5. Creating a Database Model

Chapters

Getting Started with Rails