You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: activesupport/CHANGELOG
+8
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
*Edge*
2
2
3
+
* Add Inflection rules for String#humanize. #535 [dcmanges]
4
+
5
+
ActiveSupport::Inflector.inflections do |inflect|
6
+
inflect.human(/_cnt$/i, '\1_count')
7
+
end
8
+
9
+
'jargon_cnt'.humanize # => 'Jargon count'
10
+
3
11
* TimeWithZone: when crossing DST boundary, treat Durations of days, months or years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods [Geoff Buesing]
4
12
5
13
* Added TimeZone #=~, to support matching zones by regex in time_zone_select. #195 [Ernie Miller]
0 commit comments