Upgrading Rails: Transform plain css image urls to the asset pipeline

Dienstag, 17. Juli 2018, 19:38 Uhr | roberto@vasquez-angel.de |

This is a find/replace for Sublime to replace vanilla css image url statements to asset pipeline erb tags:

Find: url.*images\/(.*)\".*
Replace: url("<%= asset_path '$1' %>");

Don’t forget to rename the css file to .css.erb.