custom error validations

This commit is contained in:
Mark Moser committed 2016-08-01 09:50:01 -05:00
1 parent dfd582d251
commit 95eec915c4
11 files changed
+79 -24

No files matched your search

@@ -0,0 +1,5 @@
# TODO: needs better wrapping instead of nuking
# https://rubyplus.com/articles/3401
ActionView::Base.field_error_proc = proc do |html_tag, _instance|
html_tag.html_safe
end