I have a svg image on /app/asssets/images/symbols.svg with this as contents.
I've been trying different solutions for this, and ultimately landed on just putting the svg doc in an html.erb
partial. Since svg is valid html, it works fine to just move it from assets to views.
<%# app/views/home/index.html.erb %>
<%= render partial: "svgs/some_svg.html.erb"
Given
app
| views
| | home
| | | index.html.erb
| | svgs
| | | some_svg.html.erb