Commit 8ff228e
authored
[rails] Return plain json from route (#9573)
Return JSON from the routes is a lot faster:
+------------+------------------------------+------+
| name| branch_name| json|
+------------+------------------------------+------+
|rails-iodine| master|105369|
|rails-iodine| rails/json-from-route|144006|
+------------+------------------------------+------+1 parent 6f8ba24 commit 8ff228e
File tree
3 files changed
+44
-27
lines changed- frameworks/Ruby/rails
- app/controllers
- config
3 files changed
+44
-27
lines changedLines changed: 0 additions & 8 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
5 | 47 | | |
6 | 48 | | |
7 | 49 | | |
8 | 50 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 51 | + | |
18 | 52 | | |
19 | 53 | | |
0 commit comments