공식 웹사이트 rubyonrails.org: 루비온레일스 웹사이트

Ruby on Rails Guides (6-0-stable)

본 가이드는 6-0-stable에 근거해서 빌드된 레일스 6.0 버전용이다. 본 가이드는 레일스를 사용하여 즉시 생산성을 높이고 모든 부분이 어떻게 결합되는지 이해하는 데 도움이 되도록 작성되었다.

이전 버전의 가이드 목록: Rails 5.2, Rails 5.1, Rails 5.0, Rails 4.2, Rails 4.1, Rails 4.0, Rails 3.2, Rails 3.1, Rails 3.0, and Rails 2.3.

레일스 가이드는 Kindle로도 볼 수 있다.
이 아이콘으로 표시된 가이드 내용은 현재 작업 중이며 가이드 인덱스 메뉴에서 볼 수 없다. 여전히 유용하지만 불완전한 정보와 에러까지 포함할 수 있다. 가이드 내용을 검토한 후 댓글과 수정 사항을 보내 주면 도움이 될 수 있다.

시작하면서

레일스로 시작하기

레일스를 설치하고 첫 번째 애플리케이션을 만들기 위해 알아야 할 모든 것.

모델

액티브 레코드 기본

이 가이드에서는 모델, 데이터베이스 지속성, 액티브 레코드 패턴 및 라이브러리를 시작하도록 도와 준다.

액티브 레코드 마이그레이션

이 가이드에서는 액티브 레코드 마이그레이션을 사용하여 체계적이고 조직적인 방식으로 데이터베이스를 변경하는 방법에 대해 설명한다.

액티브 레코드 유효성 검증

이 가이드에서는 액티브 레코드 유효성 검증 방법에 대해서 설명한다.

액티브 레코드 콜백

이 가이드에서는 액티브 레코드 콜백의 사용법을 설명한다.

Active Record Associations

This guide covers all the associations provided by Active Record.

Active Record Query Interface

This guide covers the database query interface provided by Active Record.

Active Model Basics
진행 중인 작업

This guide covers the use of model classes without Active Record.

Views

Action View Overview
진행 중인 작업

This guide provides an introduction to Action View and introduces a few of the more common view helpers.

Layouts and Rendering in Rails

This guide covers the basic layout features of Action Controller and Action View, including rendering and redirecting, using content_for blocks, and working with partials.

Action View Form Helpers

Guide to using built-in Form helpers.

Controllers

Action Controller Overview

This guide covers how controllers work and how they fit into the request cycle in your application. It includes sessions, filters, and cookies, data streaming, and dealing with exceptions raised by a request, among other topics.

Rails Routing from the Outside In

This guide covers the user-facing features of Rails routing. If you want to understand how to use routing in your own Rails applications, start here.

Other Components

Active Support Core Extensions

This guide documents the Ruby core extensions defined in Active Support.

Action Mailer Basics

This guide describes how to use Action Mailer to send emails.

Action Mailbox Basics
진행 중인 작업

This guide describes how to use Action Mailbox to receive emails.

Action Text Overview
진행 중인 작업

This guide describes how to use Action Text to handle rich text content.

Active Job Basics

This guide provides you with all you need to get started creating, enqueuing, and executing background jobs.

Active Storage Overview

This guide covers how to attach files to your Active Record models.

Action Cable Overview

This guide explains how Action Cable works, and how to use WebSockets to create real-time features.

Digging Deeper

Rails Internationalization (I18n) API

This guide covers how to add internationalization to your applications. Your application will be able to translate content to different languages, change pluralization rules, use correct date formats for each country, and so on.

Testing Rails Applications

This is a rather comprehensive guide to the various testing facilities in Rails. It covers everything from 'What is a test?' to Integration Testing. Enjoy.

Securing Rails Applications

This guide describes common security problems in web applications and how to avoid them with Rails.

Debugging Rails Applications

This guide describes how to debug Rails applications. It covers the different ways of achieving this and how to understand what is happening "behind the scenes" of your code.

Configuring Rails Applications

This guide covers the basic configuration settings for a Rails application.

The Rails Command Line

This guide covers the command line tools provided by Rails.

The Asset Pipeline

This guide documents the asset pipeline.

Working with JavaScript in Rails

This guide covers the built-in Ajax/JavaScript functionality of Rails.

The Rails Initialization Process
진행 중인 작업

This guide explains the internals of the Rails initialization process.

Autoloading and Reloading Constants (Zeitwerk Mode)

This guide documents how autoloading and reloading constants work (Zeitwerk mode).

Autoloading and Reloading Constants (Classic Mode)

This guide documents how autoloading and reloading constants work (Classic mode).

Caching with Rails: An Overview

This guide is an introduction to speeding up your Rails application with caching.

Active Support Instrumentation
진행 중인 작업

This guide explains how to use the instrumentation API inside of Active Support to measure events inside of Rails and other Ruby code.

Using Rails for API-only Applications

This guide explains how to effectively use Rails to develop a JSON API application.

Active Record and PostgreSQL
진행 중인 작업

This guide covers PostgreSQL specific usage of Active Record.

Multiple Databases with Active Record
진행 중인 작업

This guide covers using multiple databases in your application.

Extending Rails

The Basics of Creating Rails Plugins
진행 중인 작업

This guide covers how to build a plugin to extend the functionality of Rails.

Rails on Rack

This guide covers Rails integration with Rack and interfacing with other Rack components.

Creating and Customizing Rails Generators & Templates

This guide covers the process of adding a brand new generator to your extension or providing an alternative to an element of a built-in Rails generator (such as providing alternative test stubs for the scaffold generator).

Getting Started with Engines
진행 중인 작업

This guide explains how to write a mountable engine.

Threading and Code Execution in Rails
진행 중인 작업

This guide describes the considerations needed and tools available when working directly with concurrency in a Rails application.

Contributions

Contributing to Ruby on Rails

Rails is not "someone else's framework". This guide covers a variety of ways that you can get involved in the ongoing development of Rails.

API Documentation Guidelines

This guide documents the Ruby on Rails API documentation guidelines.

Guides Guidelines

This guide documents the Ruby on Rails guides guidelines.

Policies

Maintenance Policy

What versions of Ruby on Rails are currently supported, and when to expect new versions.

Release Notes

Upgrading Ruby on Rails

This guide helps in upgrading applications to latest Ruby on Rails versions.

Version 6.0 - August 2019

Release notes for Rails 6.0.

Version 5.2 - April 2018

Release notes for Rails 5.2.

Version 5.1 - April 2017

Release notes for Rails 5.1.

Version 5.0 - June 2016

Release notes for Rails 5.0.

Version 4.2 - December 2014

Release notes for Rails 4.2.

Version 4.1 - April 2014

Release notes for Rails 4.1.

Version 4.0 - June 2013

Release notes for Rails 4.0.

Version 3.2 - January 2012

Release notes for Rails 3.2.

Version 3.1 - August 2011

Release notes for Rails 3.1.

Version 3.0 - August 2010

Release notes for Rails 3.0.

Version 2.3 - March 2009

Release notes for Rails 2.3.

Version 2.2 - November 2008

Release notes for Rails 2.2.

피드백

이 가이드의 품질을 향상시키기 위해 여러분의 도움이 필요하다.

오타나 실제 오류를 발견시 여러분의 기여를 권고한다. 시작하려면 본 가이드의 기여 섹션을 읽어보기 바란다.

미완성된 컨텐츠나 업데이트되지 않은 내용을 발견할 수도 있다. 누락된 문서는 master 브랜치에 추가한다. 제시된 이슈들이 master 브랜치 상에서 이미 해결되었는지 여부를 확인하려면 먼저 Edge Guides를 확인한다. 스타일과 규칙에 대해서는 Ruby on Rails Guides Guidelines을 확인한다.

어떤 이유로든 고칠 수 있지만 직접 패치 할 수 없는 경우 이슈를 새로 오픈하면 된다.

그리고 마지막으로, 루비온레일스 문서에 관한 모든 논의는 rubyonrails-docs 메일링 리스트 상에서 언제든지 가능하다.