aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorJeremy Kemper <jeremykemper@gmail.com>2014-08-24 14:39:48 -0700
committerJeremy Kemper <jeremykemper@gmail.com>2014-08-24 14:39:48 -0700
commitcc31c7fbb911f12db30217b26a11b6efc871f9e1 (patch)
tree08538df3e323caa5456b02bc9c61d97ba1e625ec /activesupport/CHANGELOG.md
parentae66fda444218452dc6d029841190d3a6d17e7a4 (diff)
parent61a371cf0f6cefda9b0f9a5dd51ada70714a7816 (diff)
downloadrails-cc31c7fbb911f12db30217b26a11b6efc871f9e1.tar.gz
rails-cc31c7fbb911f12db30217b26a11b6efc871f9e1.tar.bz2
rails-cc31c7fbb911f12db30217b26a11b6efc871f9e1.zip
Merge pull request #16662 from robin850/duration-instance-of
Fix `ActiveSupport::Duration#instance_of?` to behave like `#is_a?`
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 88d6e09d4b..e0d154271f 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,6 @@
-* Add the `Duration#instance_of?` method that was previously delegated to the
- internal `value` attribute.
+* Fix the `ActiveSupport::Duration#instance_of?` method to return the right
+ value with the class itself since it was previously delegated to the
+ internal value.
*Robin Dupret*