File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Learn-Rails-by-Reading-Source-Code
2
2
3
- ## Part 0: Before you research Rails 5 source code
3
+ ## Part 0: Before reading Rails 5 source code
4
4
1 ) I suggest you learn Rack [ http://rack.github.io/ ] ( http://rack.github.io/ ) first.
5
5
6
- You need to know that an object respond to ` call ` method is the most important convention .
6
+ In rack, an object with ` call ` method is a rack app .
7
7
8
- So which is the object with ` call ` method in Rails App? I will answer this question in Part 1.
9
-
10
- 2 ) You need a good IDE with debugging function. I use [ RubyMine] ( https://www.jetbrains.com/ ) .
8
+ So what is the object with ` call ` method in Rails? I will answer this question in Part 1.
11
9
10
+ 2 ) You need a good IDE which can help for debugging. I use [ RubyMine] ( https://www.jetbrains.com/ ) .
12
11
13
12
### What you will learn from this tutorial?
14
13
* How does Rails start your application?
@@ -24,7 +23,7 @@ So which is the object with `call` method in Rails App? I will answer this quest
24
23
I should start with the command ` $ rails server ` , but I put this to Part 4. Because it's a little bit complex.
25
24
26
25
## Part 1: Your app: an instance of YourProject::Application
27
- Assume your Rails app class name is ` YourProject::Application ` (defined in ` ./config/application.rb ` ).
26
+ Assume your Rails app's class name is ` YourProject::Application ` (defined in ` ./config/application.rb ` ).
28
27
29
28
First, I will give you a piece of important code.
30
29
``` ruby
You can’t perform that action at this time.
0 commit comments