0
Zur Zeit mache ich das für meine WebsiteRails: get Bildquelle nach Asset precompile
image_tag("logo.png")
Dies führt
<img src="/assets/logo-c9dc9867ad75fdidmjdoehdo53di.png" alt="Logo" />
Dies funktioniert nur für mich in Ordnung. Aber manchmal brauche ich nur den Quellenteil des Bildes, d. H. Ich brauche nur diesen Teil /assets/logo-c9dc9867ad75fdidmjdoehdo53di.png
. Wie kann ich es bekommen?