I have a svg image on /app/asssets/images/symbols.svg with this as contents.
Its straightforward:
First, add the svg to the asset precompile list in assets.rb
application.config.assets.precompile += %w( symbol-defs.svg)
Then reference it in your erb/haml files as shown below: