1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test
Ryuta Kamizono 6a4395f466 Deprecate starts_with? and ends_with? for String core extensions
In the past, we sometimes hit missing `Symbol#start_with?` and
`Symbol#end_with?`.

63256bc5d7
a8e812964d

So I proposed `Symbol#start_with?` and `Symbol#end_with?` to allow duck
typing that methods for String and Symbol, then now it is available in
Ruby 2.7.

https://bugs.ruby-lang.org/issues/16348

Using `String#starts_with?` and `String#ends_with?` could not be gained
that conveniency, so it is preferable to not use these in the future.
2020-05-05 15:51:24 +09:00
..
analyzer Fix typo s/:heigh/:height/ 2019-10-03 15:42:47 +09:00
controllers Remove query params in DiskService 2019-12-06 16:52:30 -05:00
database Fix autosave association bug with ActiveStorage::Attachments 2020-04-24 13:16:16 -04:00
dummy .annotate_template_file_names annotates HTML output with template file names 2020-03-30 14:50:01 -06:00
fixtures/files Use a smaller TIFF file as fixture 2019-07-27 23:08:49 +05:30
jobs Correct test class name 2019-09-28 10:31:26 -04:00
models Deprecate starts_with? and ends_with? for String core extensions 2020-05-05 15:51:24 +09:00
previewer Change video preview format from PNG to JPG 2018-05-23 14:32:34 -04:00
service Revert "Set a public ACL for files uploaded to a public GCS service" 2020-04-28 17:16:47 -04:00
template url -> URL where apt except inside actionpack/ 2019-04-01 22:56:35 +05:30
javascript_package_test.rb Enforce that activestorage compiled JS is in sync with source code 2019-10-18 18:02:02 -07:00
test_helper.rb Fix autosave association bug with ActiveStorage::Attachments 2020-04-24 13:16:16 -04:00