Skip to content

Commit 0c9f6b7

Browse files
committed
Copy edits the railties CHANGELOG
1 parent 3de4aaf commit 0c9f6b7

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

railties/CHANGELOG.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
*Xavier Noria*
3636

37-
* Show Rake task description if command is run with -h.
37+
* Show Rake task description if command is run with `-h`.
3838

39-
Adding `-h` (or `--help`) to a Rails command that's a Rake task, now returns
39+
Adding `-h` (or `--help`) to a Rails command that's a Rake task now outputs
4040
the task description instead of the general Rake help.
4141

4242
*Petrik de Heus*
@@ -88,7 +88,7 @@
8888

8989
*Jean Boussier*
9090

91-
* Remove Rack::Runtime from the default middleware stack and deprecate
91+
* Remove `Rack::Runtime` from the default middleware stack and deprecate
9292
referencing it in middleware operations without adding it back.
9393

9494
*Hartley McGuire*
@@ -115,20 +115,17 @@
115115

116116
*Prateek Choudhary*
117117

118-
* Add benchmark method that can be called from anywhere.
118+
* The new method `Rails.benchmark` gives you a quick way to measure and log the execution time taken by a block:
119119

120-
This method is used as a quick way to measure & log the speed of some code.
121-
However, it was previously available only in specific contexts, mainly views and controllers.
122-
The new Rails.benchmark can be used in the rest of your app: services, API wrappers, models, etc.
123-
124-
def test
125-
Rails.benchmark("test") { ... }
120+
def test_expensive_stuff
121+
Rails.benchmark("test_expensive_stuff") { ... }
126122
end
127123

124+
This functionality was available in some contexts only before.
125+
128126
*Simon Perepelitsa*
129127

130-
* Removed manifest.js and application.css in app/assets
131-
folder when --skip-sprockets option passed as flag to rails.
128+
* Applications generated with `--skip-sprockets` no longer get `app/assets/config/manifest.js` and `app/assets/stylesheets/application.css`.
132129

133130
*Cindy Gao*
134131

0 commit comments

Comments
 (0)