@@ -4,7 +4,7 @@ Ruby on Rails 4.2 Release Notes
4
4
Highlights in Rails 4.2:
5
5
6
6
* Active Job
7
- * Asynchronous Mails
7
+ * Asynchronous mails
8
8
* Adequate Record
9
9
* Web Console
10
10
* Foreign key support
@@ -119,22 +119,15 @@ The caching is not used in the following scenarios:
119
119
120
120
### Web Console
121
121
122
- New applications generated from Rails 4.2 now come with the Web Console gem by
123
- default.
122
+ New applications generated from Rails 4.2 now come with the [ Web
123
+ Console] ( https://github.com/rails/web-console ) gem by default. Web Console adds
124
+ an interactive Ruby console on every error page and provides a ` console ` view
125
+ and controller helpers.
124
126
125
- Web Console is a set of debugging tools for your Rails application. It adds an
126
- interactive console on every error page and a ` console ` view and controller
127
- helper.
128
-
129
- The interactive console on the error pages lets you execute code where the
130
- exception originated. It's quite handy being able to introspect the state that
131
- led to the error.
132
-
133
- The ` console ` view helper launches an interactive console within the context of
134
- the view where it is invoked.
135
-
136
- The ` console ` controller helper spawns an interactive console within the
137
- context of the controller action it was invoked in.
127
+ The interactive console on error pages lets you execute code in the context of
128
+ the place where the exception originated. The ` console ` helper, if called
129
+ anywhere in a view or controller, launches an interactive console with the final
130
+ context, once rendering has completed.
138
131
139
132
### Foreign Key Support
140
133
@@ -178,7 +171,7 @@ Previously, calling `render "foo/bar"` in a controller action was equivalent to
178
171
instead. If you need to render a file, please change your code to use the
179
172
explicit form (` render file: "foo/bar" ` ) instead.
180
173
181
- ### ` respond_with ` / class-level ` respond_to `
174
+ ### ` respond_with ` / Class-Level ` respond_to `
182
175
183
176
` respond_with ` and the corresponding class-level ` respond_to ` have been moved
184
177
to the [ responders] ( https://github.com/plataformatec/responders ) gem. Add
@@ -260,8 +253,13 @@ application is using any of these spellings, you will need to update them:
260
253
non-alphanumeric characters.
261
254
262
255
```
263
- a[href=/] => a[href="/"]
264
- a[href$=/] => a[href$="/"]
256
+ # before
257
+ a[href=/]
258
+ a[href$=/]
259
+
260
+ # now
261
+ a[href="/"]
262
+ a[href$="/"]
265
263
```
266
264
267
265
* DOMs built from HTML source containing invalid HTML with improperly
0 commit comments