Displaying 1 result from an estimated 1 matches for "obj_of_interest".
2007 Oct 03
2
Providing HTML in an error message generated by validation
All,
I have some validation that I''m doing in a model.
As part of the error message, I would like to provide an HTML link.
What is the best approach to handling this?
APPROACH 1: One way is to
include ActionView::Helpers::UrlHelper
include ActionView::Helpers::TagHelper
in my model so that I can use link_to to generate my link (obv. I could
hard code HTML as well).
But anyway that