Skip to content

Commit b6964e8

Browse files
Add changelog entry for rails#47316 [ci skip]
1 parent 0b32852 commit b6964e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

activesupport/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@
7676

7777
*Michael Go*
7878

79+
* Add `Object#in?` support for open ranges.
80+
81+
```ruby
82+
assert Date.today.in?(..Date.tomorrow)
83+
assert_not Date.today.in?(Date.tomorrow..)
84+
```
85+
86+
*Ignacio Galindo*
87+
7988
* `config.i18n.raise_on_missing_translations = true` now raises on any missing translation.
8089

8190
Previously it would only raise when called in a view or controller. Now it will raise

0 commit comments

Comments
 (0)