1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/app
Ryuta Kamizono 6768390a42 Use content_type.start_with?("...") than content_type =~ /^.../
`start_with?` is a little faster than regexp for prefix matching by a
fixed string.
2017-08-05 08:10:13 +09:00
..
assets/javascripts
controllers/active_storage Do not eager load ActiveRecord::Base 2017-08-03 16:57:48 -04:00
javascript/activestorage
jobs/active_storage
models/active_storage Use content_type.start_with?("...") than content_type =~ /^.../ 2017-08-05 08:10:13 +09:00