skill-assessment-app/config/initializers/custom_error_wrapper.rb

7 lines
196 B
Ruby

# frozen_string_literal: true
# TODO: needs better wrapping instead of nuking
# https://rubyplus.com/articles/3401
ActionView::Base.field_error_proc = proc do |html_tag, _instance|
html_tag
end