From: Herve Saint-Amand Date: Sun, 1 Jan 2017 22:11:56 +0000 (+0000) Subject: Better loading of attached images X-Git-Tag: live~3704^2~35 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b5ef2be021d84d8e05575d1569bacd3446d148db?hp=b5ef2be021d84d8e05575d1569bacd3446d148db Better loading of attached images Got rid of that big ugly base64 blob which was only a temporary crutch anyway. Added a png file instead. Use File.read rather than File.open for a 66% reduction in verbosity. ---