File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 34
34
35
35
* Xavier Noria*
36
36
37
- * Show Rake task description if command is run with -h .
37
+ * Show Rake task description if command is run with ` -h ` .
38
38
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
40
40
the task description instead of the general Rake help.
41
41
42
42
* Petrik de Heus*
88
88
89
89
* Jean Boussier*
90
90
91
- * Remove Rack::Runtime from the default middleware stack and deprecate
91
+ * Remove ` Rack::Runtime ` from the default middleware stack and deprecate
92
92
referencing it in middleware operations without adding it back.
93
93
94
94
* Hartley McGuire*
115
115
116
116
* Prateek Choudhary*
117
117
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:
119
119
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") { ... }
126
122
end
127
123
124
+ This functionality was available in some contexts only before.
125
+
128
126
* Simon Perepelitsa*
129
127
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 ` .
132
129
133
130
* Cindy Gao*
134
131
You can’t perform that action at this time.
0 commit comments