I have a model with a field called \"type\" and a field called \"value\". The type field will determine how the \"value\" is parsed before rendering. I want this to be easily ex
Victory!
include ActionView::Helpers include ActionDispatch::Routing include Rails.application.routes.url_helpers
via http://apidock.com/rails/ActionController/UrlWriter