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 Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
controllers/active_storage Do not eager load ActiveRecord::Base 2017-08-03 16:57:48 -04:00
javascript/activestorage Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
jobs/active_storage Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' 2017-07-31 15:21:22 -04:00
models/active_storage Use content_type.start_with?("...") than content_type =~ /^.../ 2017-08-05 08:10:13 +09:00