-
nil.to_query("key")
now returnskey
.Previously it would return
key=
, preventing round tripping withRack::Utils.parse_nested_query
.Erol Fornoles
-
Avoid wrapping redis in a
ConnectionPool
when usingActiveSupport::Cache::RedisCacheStore
if the:redis
option is already aConnectionPool
.Joshua Young
-
Alter
ERB::Util.tokenize
to return :PLAIN token with full input string when string doesn't contain ERB tags.Martin Emde
-
Fix a bug in
ERB::Util.tokenize
that causes incorrect tokenization when ERB tags are preceeded by multibyte characters.Martin Emde
-
Add
ActiveSupport::Testing::NotificationAssertions
module to help with testingActiveSupport::Notifications
.Nicholas La Roux, Yishu See, Sean Doyle
-
ActiveSupport::CurrentAttributes#attributes
now will return a new hash object on each call.Previously, the same hash object was returned each time that method was called.
fatkodima
-
ActiveSupport::JSON.encode
supports CIDR notation.Previously:
ActiveSupport::JSON.encode(IPAddr.new("172.16.0.0/24")) # => "\"172.16.0.0\""
After this change:
ActiveSupport::JSON.encode(IPAddr.new("172.16.0.0/24")) # => "\"172.16.0.0/24\""
Taketo Takashima
-
Make
ActiveSupport::FileUpdateChecker
faster when checking many file-extensions.Jonathan del Strother
Please check 8-0-stable for previous changes.