1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update CHANGELOG and release notes for e98f2a7

This commit is contained in:
Godfrey Chan 2014-10-22 16:34:58 -07:00
parent 07b80c128f
commit 04b40b3deb
2 changed files with 6 additions and 2 deletions

View file

@ -63,7 +63,7 @@
*Guo Xiang Tan*
* Added instance_eval version to Object#try, so you can do this:
* Added instance_eval version to Object#try and Object#try!, so you can do this:
person.try { name.first }
@ -71,7 +71,7 @@
person.try { |person| person.name.first }
*DHH*
*DHH*, *Ari Pollak*
* Fix the `ActiveSupport::Duration#instance_of?` method to return the right
value with the class itself since it was previously delegated to the

View file

@ -750,6 +750,10 @@ Please refer to the [Changelog][active-support] for detailed changes.
### Notable changes
* `Object#try` and `Object#try!` can now be used without an explicit receiver.
([Commit](https://github.com/rails/rails/commit/5e51bdda59c9ba8e5faf86294e3e431bd45f1830),
[Pull Request](https://github.com/rails/rails/pull/17361))
* Introduced new configuration option `active_support.test_order` for
specifying the order test cases are executed. This option currently defaults
to `:sorted` but will be changed to `:random` in Rails 5.0.