Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99a5119

Browse files
committed
Add table of content.
1 parent578cb12 commit99a5119

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

‎README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
#Learn-Rails-by-Reading-Source-Code
22
##Table of Contents
33

4-
*[Part 0 - Before reading Rails 5 source code](#part-0---Before-reading-Rails-5-source-code)
5-
*[Syntax](#syntax)
6-
*[Naming](#naming)
7-
*[Comments](#comments)
8-
*[Comment Annotations](#comment-annotations)
9-
*[Magic Comments](#magic-comments)
10-
*[Classes & Modules](#classes--modules)
11-
*[Exceptions](#exceptions)
12-
*[Collections](#collections)
13-
*[Numbers](#numbers)
14-
*[Strings](#strings)
15-
*[Date & Time](#date--time)
4+
*[Part 0: Before reading Rails 5 source code](#part-0-before-reading-rails-5-source-code)
5+
*[What will you learn from this tutorial?](#what-will-you-learn-from-this-tutorial)
6+
*[Part 1: Your app: an instance of YourProject::Application](#part-1-your-app-an-instance-of-yourprojectapplication)
7+
*[Part 2: config](#part-2-config)
8+
*[Part 3: Every request and response](#part-3-every-request-and-response)
9+
*[Puma](#puma)
10+
*[Rack apps](#rack-apps)
11+
*[The core app: ActionDispatch::Routing::RouteSet instance](#the-core-app-actiondispatchroutingrouteset-instance)
12+
*[Render view](#render-view)
13+
*[How can instance variables defined in Controller be accessed in view file?](#how-can-instance-variables-defined-in-controller-be-accessed-in-view-file)
14+
*[Part 4: What does`$ rails server` do?](#part-4-what-does--rails-server-do)
15+
*[Thor](#thor)
16+
*[Rails::Server#start](#railsserverstart)
17+
*[Starting Puma](#starting-puma)
18+
*[Conclusion](#conclusion)
19+
*[Exiting Puma](#exiting-puma)
20+
*[Process and Thread](#process-and-thread)
21+
*[Send`SIGTERM` to Puma](#send-sigterm-to-puma)
1622

1723

1824
##Part 0: Before reading Rails 5 source code
@@ -24,7 +30,7 @@ So what is the object with `call` method in Rails? I will answer this question i
2430

2531
2) You need a good IDE which can help for debugging. I use[RubyMine](https://www.jetbrains.com/).
2632

27-
###Whatyouwill learn from this tutorial?
33+
###What will you learn from this tutorial?
2834
* How does Rails start your application?
2935

3036
* How does Rails process every request?
@@ -1821,7 +1827,7 @@ module Rack
18211827
end
18221828
```
18231829

1824-
###Puma
1830+
###StartingPuma
18251831
As we see in`Rack::Server#start`, there is`Rack::Handler::Puma.run(wrapped_app, options, &blk)`.
18261832

18271833
```ruby

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp